Skip to content

Commit 4c7ebd6

Browse files
committed
QA fix
1 parent e8b3526 commit 4c7ebd6

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
@@ -848,11 +848,7 @@ private function hasCustomHydrateAttribute(
848848

849849
$callable = [$this, $method];
850850

851-
if (is_callable($callable)) {
852-
return true;
853-
}
854-
855-
return false;
851+
return is_callable($callable);
856852
}
857853

858854
/**

0 commit comments

Comments
 (0)