| 1 | <?php |
||
| 12 | class SameMatcher extends AbstractMatcher |
||
| 13 | { |
||
| 14 | public function differ($actual, $expected) { |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Match if the actual value is identical to the expected value using an === |
||
| 20 | * comparison. |
||
| 21 | * |
||
| 22 | * @param mixed $actual |
||
| 23 | * @return bool |
||
| 24 | */ |
||
| 25 | public function doMatch($actual) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | * |
||
| 33 | * @return TemplateInterface |
||
| 34 | */ |
||
| 35 | public function getDefaultTemplate() |
||
| 42 | } |
||
| 43 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.