Skip to content

Commit cacfbe3

Browse files
Apply fixes from StyleCI (#2)
1 parent 5831cfb commit cacfbe3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Regex/Result.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ abstract class Result
99
*
1010
* @return \PhpOption\Option
1111
*/
12-
public abstract function success();
12+
abstract public function success();
1313

1414
/**
1515
* Get the error value, if possible.
@@ -28,14 +28,14 @@ public function getSuccess()
2828
*
2929
* @return \Dotenv\Regex\Result
3030
*/
31-
public abstract function mapSuccess(callable $f);
31+
abstract public function mapSuccess(callable $f);
3232

3333
/**
3434
* Get the error option value.
3535
*
3636
* @return \PhpOption\Option
3737
*/
38-
public abstract function error();
38+
abstract public function error();
3939

4040
/**
4141
* Get the error value, if possible.
@@ -54,5 +54,5 @@ public function getError()
5454
*
5555
* @return \Dotenv\Regex\Result
5656
*/
57-
public abstract function mapError(callable $f);
57+
abstract public function mapError(callable $f);
5858
}

0 commit comments

Comments
 (0)