File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ public function __unset($attribute)
240
240
* @param mixed $attribute
241
241
* @return bool
242
242
*/
243
- public function offsetExists ($ attribute )
243
+ public function offsetExists (mixed $ attribute ): bool
244
244
{
245
245
return ! is_null ($ this ->getAttribute ($ attribute ));
246
246
}
@@ -251,7 +251,7 @@ public function offsetExists($attribute)
251
251
* @param mixed $attribute
252
252
* @return mixed
253
253
*/
254
- public function offsetGet ($ attribute )
254
+ public function offsetGet (mixed $ attribute ): mixed
255
255
{
256
256
return $ this ->getAttribute ($ attribute );
257
257
}
@@ -263,7 +263,7 @@ public function offsetGet($attribute)
263
263
* @param mixed $value
264
264
* @return void
265
265
*/
266
- public function offsetSet ($ attribute , $ value )
266
+ public function offsetSet ($ attribute , $ value ): void
267
267
{
268
268
$ this ->setAttribute ($ attribute , $ value );
269
269
}
@@ -274,7 +274,7 @@ public function offsetSet($attribute, $value)
274
274
* @param mixed $attribute
275
275
* @return void
276
276
*/
277
- public function offsetUnset ($ attribute )
277
+ public function offsetUnset ($ attribute ): void
278
278
{
279
279
unset($ this ->attributes [$ attribute ]);
280
280
}
You can’t perform that action at this time.
0 commit comments