File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
src/phpDocumentor/Reflection/Php/Factory Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -43,3 +43,8 @@ parameters:
43
43
# another class with relationship to Element
44
44
# src/phpDocumentor/Reflection/Php/ProjectFactory.php
45
45
- '#Parameter \#1 \$file of method phpDocumentor\\Reflection\\Php\\Project::addFile\ (\ ) expects phpDocumentor\\Reflection\\Php\\File , phpDocumentor\\Reflection\\Element given\. #'
46
+ #
47
+ #
48
+ # until I can make $object arg ?$object...
49
+ # src/phpDocumentor/Reflection/Php/Factory/DocBlock.php
50
+ - ' #Strict comparison using = == between PhpParser\\Comment\\Doc and null will always evaluate to false\. #'
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public function matches($object): bool
67
67
*/
68
68
public function create ($ object , StrategyContainer $ strategies , ?Context $ context = null )
69
69
{
70
- if ($ object == null ) {
70
+ if ($ object === null ) {
71
71
return null ;
72
72
}
73
73
You can’t perform that action at this time.
0 commit comments