Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit aa654b7

Browse files
authored
Tweak exception clarity
1 parent f755d4a commit aa654b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/Import.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ protected function sync(Model $model)
131131
$handler = app($ldapField);
132132

133133
if (! method_exists($handler, 'handle')) {
134-
throw new AdldapException("A handle method must be defined when using an attribute handler.");
134+
throw new AdldapException("A public 'handle()' method must be defined when using an attribute handler.");
135135
}
136136

137137
$handler->handle($this->user, $model);

0 commit comments

Comments
 (0)