Upgrade framework
This commit is contained in:
15
vendor/sebastian/comparator/src/Comparator.php
vendored
15
vendor/sebastian/comparator/src/Comparator.php
vendored
@@ -1,13 +1,12 @@
|
||||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
/*
|
||||
* This file is part of the Comparator package.
|
||||
* This file is part of sebastian/comparator.
|
||||
*
|
||||
* (c) Sebastian Bergmann <sebastian@phpunit.de>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace SebastianBergmann\Comparator;
|
||||
|
||||
use SebastianBergmann\Exporter\Exporter;
|
||||
@@ -32,10 +31,7 @@ abstract class Comparator
|
||||
$this->exporter = new Exporter;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Factory $factory
|
||||
*/
|
||||
public function setFactory(Factory $factory)
|
||||
public function setFactory(Factory $factory)/*: void*/
|
||||
{
|
||||
$this->factory = $factory;
|
||||
}
|
||||
@@ -43,8 +39,9 @@ abstract class Comparator
|
||||
/**
|
||||
* Returns whether the comparator can compare two values.
|
||||
*
|
||||
* @param mixed $expected The first value to compare
|
||||
* @param mixed $actual The second value to compare
|
||||
* @param mixed $expected The first value to compare
|
||||
* @param mixed $actual The second value to compare
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
abstract public function accepts($expected, $actual);
|
||||
|
||||
Reference in New Issue
Block a user