File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ public function anything()
125
125
}
126
126
127
127
/**
128
- * Anthing But
128
+ * AnythingBut
129
129
*
130
130
* Anything but this chars
131
131
*
@@ -187,7 +187,7 @@ public function replace($source, $value)
187
187
}
188
188
189
189
/**
190
- * Linebreak
190
+ * Line break
191
191
*
192
192
* Match line break
193
193
*
@@ -200,7 +200,7 @@ public function lineBreak()
200
200
}
201
201
202
202
/**
203
- * Linebreak
203
+ * Line break
204
204
*
205
205
* Shorthand for lineBreak
206
206
*
@@ -226,9 +226,9 @@ public function tab()
226
226
}
227
227
228
228
/**
229
- * Alpha Numberic
229
+ * Alpha Numeric
230
230
*
231
- * Match any alfanumeric
231
+ * Match any alpha numeric
232
232
*
233
233
* @access public
234
234
* @return VerEx
@@ -273,15 +273,15 @@ public function any($value)
273
273
*
274
274
* @access public
275
275
* @return VerEx
276
- * @throws Exception
276
+ * @throws \InvalidArgumentException
277
277
*/
278
278
public function range ()
279
279
{
280
280
281
281
$ arg_num = func_num_args ();
282
282
283
283
if ($ arg_num %2 != 0 ) {
284
- throw new Exception ("Number of args must be even " , 1 );
284
+ throw new \ InvalidArgumentException ("Number of args must be even " , 1 );
285
285
}
286
286
287
287
$ value = "[ " ;
@@ -360,7 +360,7 @@ public function stopAtFirst($enable = true)
360
360
}
361
361
362
362
/**
363
- * SearchOneline
363
+ * SearchOneLine
364
364
*
365
365
* Toggles m modifier
366
366
*
@@ -393,7 +393,7 @@ public function multiple($value)
393
393
break ;
394
394
395
395
default :
396
- $ value + = '+ ' ;
396
+ $ value . = '+ ' ;
397
397
break ;
398
398
}
399
399
You can’t perform that action at this time.
0 commit comments