Skip to content

Commit

Permalink
Bad return types
Browse files Browse the repository at this point in the history
  • Loading branch information
hipsterjazzbo committed Aug 5, 2018
1 parent 9e38e00 commit 193e4ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/Inflectors/Inflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ public function getUncountableRules(): array
*
* @param array $rules
*
* @return array
* @return void
*/
public function addPluralRules(array $rules): array
public function addPluralRules(array $rules): void
{
static::$pluralRules = array_merge(static::$pluralRules, $rules);
}
Expand All @@ -157,9 +157,9 @@ public function addPluralRules(array $rules): array
*
* @param array $rules
*
* @return array
* @return void
*/
public function addSingularRules(array $rules): array
public function addSingularRules(array $rules): void
{
static::$singularRules = array_merge(static::$singularRules, $rules);
}
Expand All @@ -169,9 +169,9 @@ public function addSingularRules(array $rules): array
*
* @param array $rules
*
* @return array
* @return void
*/
public function addIrregularRules(array $rules): array
public function addIrregularRules(array $rules): void
{
static::$irregularRules = array_merge(static::$irregularRules, $rules);
}
Expand All @@ -181,9 +181,9 @@ public function addIrregularRules(array $rules): array
*
* @param array $rules
*
* @return array
* @return void
*/
public function addUncountableRules(array $rules): array
public function addUncountableRules(array $rules): void
{
static::$uncountableRules = array_merge(static::$uncountableRules, $rules);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/EditorTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php /** @noinspection ALL */

namespace Placemat\Editor\Tests;

Expand Down

0 comments on commit 193e4ef

Please sign in to comment.