chore: rename class

This commit is contained in:
fiachra mcdermott 2021-06-29 00:48:24 -04:00
parent d6025435d6
commit 3736c65592
2 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ use function str_replace;
/**
* @psalm-suppress DeprecatedInterface
*/
class ModelPropertyHandler implements
class ModelRelationshipPropertyHandler implements
\Psalm\Plugin\Hook\PropertyExistenceProviderInterface,
\Psalm\Plugin\Hook\PropertyVisibilityProviderInterface,
\Psalm\Plugin\Hook\PropertyTypeProviderInterface

View File

@ -5,7 +5,7 @@ use Psalm\LaravelPlugin\Handlers\Application\ContainerHandler;
use Psalm\LaravelPlugin\Handlers\Application\OffsetHandler;
use Psalm\LaravelPlugin\Handlers\Eloquent\ModelMethodHandler;
use Psalm\LaravelPlugin\Handlers\Eloquent\ModelPropertyAccessorHandler;
use Psalm\LaravelPlugin\Handlers\Eloquent\ModelPropertyHandler;
use Psalm\LaravelPlugin\Handlers\Eloquent\ModelRelationshipPropertyHandler;
use Psalm\LaravelPlugin\Handlers\Eloquent\RelationsMethodHandler;
use Psalm\LaravelPlugin\Handlers\Helpers\PathHandler;
use Psalm\LaravelPlugin\Handlers\Helpers\RedirectHandler;
@ -56,8 +56,8 @@ class Plugin implements PluginEntryPointInterface
$registration->registerHooksFromClass(ContainerHandler::class);
require_once 'Handlers/Application/OffsetHandler.php';
$registration->registerHooksFromClass(OffsetHandler::class);
require_once 'Handlers/Eloquent/ModelPropertyHandler.php';
$registration->registerHooksFromClass(ModelPropertyHandler::class);
require_once 'Handlers/Eloquent/ModelRelationshipPropertyHandler.php';
$registration->registerHooksFromClass(ModelRelationshipPropertyHandler::class);
require_once 'Handlers/Eloquent/ModelPropertyAccessorHandler.php';
$registration->registerHooksFromClass(ModelPropertyAccessorHandler::class);
require_once 'Handlers/Eloquent/RelationsMethodHandler.php';