CI: fix name position

This commit is contained in:
TomasVotruba 2020-07-06 22:07:11 +02:00
parent bd170a668c
commit c5768ae170
2 changed files with 3 additions and 8 deletions

View File

@ -26,6 +26,7 @@ jobs:
bin/rector list
runs-on: ubuntu-latest
name: ${{ matrix.actions.name }}
steps:
- uses: actions/checkout@v2
@ -35,6 +36,4 @@ jobs:
php-version: 7.4
coverage: none
-
name: ${{ matrix.actions.name }}
run: ${{ matrix.actions.run }}
- run: ${{ matrix.actions.run }}

View File

@ -89,11 +89,7 @@ PHP
// is variable assigned in constructor
$propertyName = $this->getName($property);
if ($this->isPropertyInitiatedInConstuctor($property, $propertyName)) {
return true;
}
return false;
return $this->isPropertyInitiatedInConstuctor($property, $propertyName);
}
private function isPropertyInitiatedInConstuctor(Property $property, string $propertyName): bool