Skip to content

Commit

Permalink
Cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Feb 25, 2022
1 parent 2e56743 commit c8e9d27
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"php": "^7.2 || ^8.0"
},
"require-dev": {
"symfony/phpunit-bridge": "^4.2 || ^5",
"symfony/phpunit-bridge": "^5",
"phpstan/phpstan": "^1.3",
"phpstan/phpstan-strict-rules": "^1.1"
},
Expand Down
2 changes: 0 additions & 2 deletions src/Preg.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,6 @@ public static function replaceCallback($pattern, callable $replacement, $subject
}

/**
* Available from PHP 7.0
*
* @param array<string, callable> $pattern
* @param string $subject
* @param int $count Set by method
Expand Down
2 changes: 0 additions & 2 deletions src/Regex.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ public static function replaceCallback($pattern, callable $replacement, $subject
}

/**
* Available from PHP 7.0
*
* @param array<string, callable> $pattern
* @param string $subject
* @param int $flags PREG_OFFSET_CAPTURE or PREG_UNMATCHED_AS_NULL, only available on PHP 7.4+
Expand Down

0 comments on commit c8e9d27

Please sign in to comment.