Skip to content

Commit db60922

Browse files
committed
Added jsonSerialize return type
1 parent 0962196 commit db60922

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Layout.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,11 @@ public function toButtonArray() : array
332332
}
333333

334334
/**
335-
* Transform layout for front-end serialization (AJAX requests usage).
335+
* Transform layout for front-end serialization (AJAX requests usage).
336336
*
337337
* @return array
338338
*/
339-
public function jsonSerialize()
339+
public function jsonSerialize(): array
340340
{
341341
return array_merge(
342342
$this->toButtonArray(),

0 commit comments

Comments
 (0)