fix php80 set

This commit is contained in:
TomasVotruba 2020-07-01 23:35:40 +02:00
parent b33ff2649f
commit f113d3d103
2 changed files with 3 additions and 2 deletions

View File

@ -88,5 +88,7 @@ PHP
return $strStartWithMatchAndRefactor->refactor($strStartsWithValueObject);
}
return null;
}
}

View File

@ -5,7 +5,6 @@ declare(strict_types=1);
namespace Rector\Php80\Rector\NotIdentical;
use PhpParser\Node;
use PhpParser\Node\Expr\BinaryOp\Identical;
use PhpParser\Node\Expr\BinaryOp\NotIdentical;
use PhpParser\Node\Expr\FuncCall;
use PhpParser\Node\Name;
@ -59,7 +58,7 @@ PHP
*/
public function getNodeTypes(): array
{
return [NotIdentical::class, Identical::class];
return [NotIdentical::class];
}
/**