@@ -14,8 +14,9 @@ class MutatorProvider implements ArrayAccess
1414 protected $ mutators = [];
1515
1616 /**
17- * @param string $mutator
17+ * @param string $mutator
1818 * @return \Weebly\Mutate\Mutators\MutatorContract
19+ *
1920 * @throws \Weebly\Mutate\Exceptions\MutatorNotFoundException
2021 */
2122 public function get ($ mutator )
@@ -31,8 +32,8 @@ public function get($mutator)
3132 }
3233
3334 /**
34- * @param string $name
35- * @param mixed $mutator
35+ * @param string $name
36+ * @param mixed $mutator
3637 * @return $this
3738 */
3839 public function set ($ name , $ mutator )
@@ -43,7 +44,7 @@ public function set($name, $mutator)
4344 }
4445
4546 /**
46- * @param string $mutator
47+ * @param string $mutator
4748 * @return bool
4849 */
4950 public function exists ($ mutator )
@@ -52,7 +53,7 @@ public function exists($mutator)
5253 }
5354
5455 /**
55- * @param array $mutators
56+ * @param array $mutators
5657 */
5758 public function registerMutators (array $ mutators )
5859 {
@@ -63,45 +64,51 @@ public function registerMutators(array $mutators)
6364 }
6465
6566 /**
66- * @param string $offset
67+ * @param string $offset
6768 * @return bool
6869 */
70+ #[\ReturnTypeWillChange]
6971 public function offsetExists ($ offset )
7072 {
7173 return $ this ->exists ($ offset );
7274 }
7375
7476 /**
75- * @param string $offset
77+ * @param string $offset
7678 * @return \Weebly\Mutate\Mutators\MutatorContract
79+ *
7780 * @throws \Weebly\Mutate\Exceptions\MutatorNotFoundException
7881 */
82+ #[\ReturnTypeWillChange]
7983 public function offsetGet ($ offset )
8084 {
8185 return $ this ->get ($ offset );
8286 }
8387
8488 /**
85- * @param string $offset
86- * @param mixed $value
89+ * @param string $offset
90+ * @param mixed $value
8791 * @return \Weebly\Mutate\MutatorProvider
8892 */
93+ #[\ReturnTypeWillChange]
8994 public function offsetSet ($ offset , $ value )
9095 {
9196 return $ this ->set ($ offset , $ value );
9297 }
9398
9499 /**
95- * @param string $offset
100+ * @param string $offset
96101 */
102+ #[\ReturnTypeWillChange]
97103 public function offsetUnset ($ offset )
98104 {
99105 unset($ this ->mutators [$ offset ]);
100106 }
101107
102108 /**
103- * @param string $name
109+ * @param string $name
104110 * @return \Weebly\Mutate\Mutators\MutatorContract
111+ *
105112 * @throws \Weebly\Mutate\Exceptions\MutatorNotFoundException
106113 */
107114 public function __get ($ name )
@@ -110,16 +117,16 @@ public function __get($name)
110117 }
111118
112119 /**
113- * @param string $name
114- * @param mixed $value
120+ * @param string $name
121+ * @param mixed $value
115122 */
116123 public function __set ($ name , $ value )
117124 {
118125 $ this ->set ($ name , $ value );
119126 }
120127
121128 /**
122- * @param string $key
129+ * @param string $key
123130 * @return bool
124131 */
125132 public function __isset ($ key )
@@ -128,7 +135,7 @@ public function __isset($key)
128135 }
129136
130137 /**
131- * @param string $key
138+ * @param string $key
132139 * @return void
133140 */
134141 public function __unset ($ key )
0 commit comments