Skip to content

Commit fd23046

Browse files
committed
update .gitignore and type hints
1 parent 66ef803 commit fd23046

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
nbproject/
22
vendor/
3+
composer.phar

src/VIPSoft/CodeCoverageCommon/Model/Aggregate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct()
3434
* @param string $class
3535
* @param array $counts
3636
*/
37-
public function update($class, $counts)
37+
public function update($class, array $counts)
3838
{
3939
if ( ! isset($this->coverage[$class])) {
4040
$this->coverage[$class] = $counts;

src/VIPSoft/CodeCoverageCommon/Report/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Factory
2323
*
2424
* @return \VIPSoft\CodeCoverageCommon\ReportInterface|null
2525
*/
26-
public function create($reportType, $options)
26+
public function create($reportType, array $options)
2727
{
2828
if (in_array($reportType, array('clover', 'crap4j', 'html', 'php', 'text', 'xml'))) {
2929
$className = '\VIPSoft\CodeCoverageCommon\Report\\' . ucfirst($reportType);

0 commit comments

Comments
 (0)