File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ final public function __set($name, $value)
5656 *
5757 * @return bool
5858 */
59- final public function offsetExists ($ offset )
59+ final public function offsetExists ($ offset ): bool
6060 {
6161 return isset ($ this ->$ offset );
6262 }
@@ -66,7 +66,7 @@ final public function offsetExists($offset)
6666 *
6767 * @return mixed
6868 */
69- final public function offsetGet ($ offset )
69+ final public function offsetGet ($ offset ): mixed
7070 {
7171 return $ this ->$ offset ;
7272 }
@@ -75,15 +75,15 @@ final public function offsetGet($offset)
7575 * @param string $offset
7676 * @param mixed $value
7777 */
78- final public function offsetSet ($ offset , $ value )
78+ final public function offsetSet ($ offset , $ value ): void
7979 {
8080 $ this ->$ offset = $ value ;
8181 }
8282
8383 /**
8484 * @param string $offset
8585 */
86- final public function offsetUnset ($ offset )
86+ final public function offsetUnset ($ offset ): void
8787 {
8888 unset($ this ->$ offset );
8989 }
@@ -203,7 +203,7 @@ public function toYaml(
203203 *
204204 * @return array|stdClass
205205 */
206- public function jsonSerialize ()
206+ public function jsonSerialize (): mixed
207207 {
208208 $ properties = $ this ->toArray ();
209209 return empty ($ properties ) ? new stdClass () : $ properties ;
You can’t perform that action at this time.
0 commit comments