@@ -251,7 +251,7 @@ |
||
251 | 251 | * @todo Find a better way, as json_* functions are very heavy |
252 | 252 | * |
253 | 253 | * @param array $entities |
254 | - * @param mixed $default |
|
254 | + * @param string|null $default |
|
255 | 255 | * |
256 | 256 | * @return mixed |
257 | 257 | */ |
@@ -262,7 +262,7 @@ |
||
262 | 262 | } |
263 | 263 | |
264 | 264 | //Convert each Entity item into an object based on its JSON reflection |
265 | - $json_entities = array_map(function ($entity) { |
|
265 | + $json_entities = array_map(function($entity) { |
|
266 | 266 | return json_decode($entity, true); |
267 | 267 | }, $entities); |
268 | 268 |