File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,8 @@ public function offsetGet($name)
139
139
*
140
140
* @see setValue
141
141
*
142
- * @param string $name Property name
143
- * @param mixed $value The default Variable value
142
+ * @param string $name Property name
143
+ * @param mixed $value The default Variable value
144
144
*/
145
145
public function offsetSet ($ name , $ value )
146
146
{
@@ -150,16 +150,10 @@ public function offsetSet($name, $value)
150
150
/**
151
151
* Fluent interface method for removing a VariableProperty reference.
152
152
*
153
- * @throws InvalidArgumentException If a VariableProperty of that name is not defined.
154
- *
155
- * @param string $name Property name
153
+ * @param string $name Property name
156
154
*/
157
155
public function offsetUnset ($ name )
158
156
{
159
- if (!$ this ->offsetExists ($ name )) {
160
- throw new \InvalidArgumentException ('Unknown variable property: ' . $ name );
161
- }
162
-
163
157
unset($ this ->properties [$ name ]);
164
158
}
165
159
You can’t perform that action at this time.
0 commit comments