Skip to content

Commit eb5440b

Browse files
committed
Fix array_key_exists error
1 parent 6ddab72 commit eb5440b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/MapDateTimeMutator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ private function getMapDateTimeMutatorArray() {
1414
}
1515

1616
private function isMutatorMappedDateTime($key) {
17-
return array_key_exists( $this->getMapDateTimeMutatorArray($key) );
17+
return array_key_exists($key, $this->getMapDateTimeMutatorArray());
1818
}
1919

2020
private function getMapDateTimeMutator($key) {

0 commit comments

Comments
 (0)