Skip to content

Commit

Permalink
Refactoring __toJSON
Browse files Browse the repository at this point in the history
  • Loading branch information
steevenz committed May 4, 2018
1 parent f8919c9 commit 48f6ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Datastructures/Traits/ArrayConversionTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 48f6ab0

Please sign in to comment.