Fixed code style.

This commit is contained in:
Jan Böhmer 2020-08-21 21:36:22 +02:00
parent 2853e471c4
commit d0b1024d80
212 changed files with 495 additions and 1005 deletions

View file

@ -40,7 +40,7 @@ class ParameterExtractor
*/
public function extractParameters(string $input, string $class = PartParameter::class): array
{
if (! is_a($class, AbstractParameter::class, true)) {
if (!is_a($class, AbstractParameter::class, true)) {
throw new \InvalidArgumentException('$class must be a child class of AbstractParameter!');
}
@ -68,7 +68,7 @@ class ParameterExtractor
$matches = [];
\preg_match($regex, $input, $matches);
if (! empty($matches)) {
if (!empty($matches)) {
[, $name, $value] = $matches;
$value = trim($value);