Skip to content

Commit 6e36dc8

Browse files
committed
Check fix
1 parent 14278f0 commit 6e36dc8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Hydrators/Hydrator.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -840,11 +840,7 @@ private function hasCustomHydrateAttribute(
840840

841841
$callable = [$this, $method];
842842

843-
if (is_callable($callable)) {
844-
return true;
845-
}
846-
847-
return false;
843+
return is_callable($callable);
848844
}
849845

850846
/**

0 commit comments

Comments
 (0)