diff --git a/src/Datastructures/Traits/ArrayConversionTrait.php b/src/Datastructures/Traits/ArrayConversionTrait.php index c069059..b994a00 100644 --- a/src/Datastructures/Traits/ArrayConversionTrait.php +++ b/src/Datastructures/Traits/ArrayConversionTrait.php @@ -115,7 +115,7 @@ public function __toString() * * @return string */ - public function __toJSON( $options = JSON_PRETTY_PRINT, $depth = 512 ) + public function __toJson( $options = JSON_PRETTY_PRINT, $depth = 512 ) { $depth = $depth == 0 ? 512 : $depth;