Skip to content

Commit 6f0a7f9

Browse files
committed
applying php-cs-fixer to src
1 parent 4a2f276 commit 6f0a7f9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/VerbalExpressions/PHPVerbalExpressions/VerbalExpressions.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,6 @@ public function any($value)
286286
*/
287287
public function range()
288288
{
289-
290289
$arg_num = func_num_args();
291290

292291
if ($arg_num%2 != 0) {
@@ -396,8 +395,8 @@ public function multiple($value)
396395

397396
$last = substr($value, -1);
398397

399-
if($last !== '+' && $last !== '*'){
400-
$value .= '+';
398+
if ($last !== '+' && $last !== '*') {
399+
$value .= '+';
401400
}
402401

403402
return $this->add($value);
@@ -526,7 +525,7 @@ public function limit($min, $max = 0)
526525
// check if the expression has * or + for the last expression
527526
if (preg_match("/\*|\+/", $this->lastAdded)) {
528527
$l = 1;
529-
$this->source = strrev(str_replace(array('+','*'), strrev($value), strrev($this->source), $l));
528+
$this->source = strrev(str_replace(array('+', '*'), strrev($value), strrev($this->source), $l));
530529

531530
return $this;
532531
}

0 commit comments

Comments
 (0)