Skip to content

Commit 063a662

Browse files
committed
2 parents 98e8348 + 699d79c commit 063a662

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/JsonColumnTrait.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,9 @@ public function getOriginal($key = null, $default = null)
210210
/**
211211
* Decode the given JSON back into an array or object.
212212
*
213-
* @param string $value
214-
* @param bool $asObject
213+
* @param string $value
214+
* @param bool $asObject
215+
*
215216
* @return mixed
216217
*/
217218
public function fromJson($value, $asObject = false)
@@ -220,7 +221,7 @@ public function fromJson($value, $asObject = false)
220221
return $value;
221222
}
222223

223-
return json_decode($value, ! $asObject);
224+
return json_decode($value, !$asObject);
224225
}
225226

226227
/**

0 commit comments

Comments
 (0)