Skip to content

Commit

Permalink
Rector tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi authored and rotimi committed Apr 13, 2021
1 parent 04db7b5 commit 6e51593
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/ArraysCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function checkType($item): bool {
}

/**
* @return string|array
* @return string
*/
public function getType() {

Expand Down
2 changes: 1 addition & 1 deletion src/CallablesCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function checkType($item): bool {
}

/**
* @return string|array
* @return string
*/
public function getType() {

Expand Down
2 changes: 1 addition & 1 deletion src/FloatsCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function checkType($item): bool {
}

/**
* @return string|array
* @return string
*/
public function getType() {

Expand Down
2 changes: 1 addition & 1 deletion src/IntsCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function checkType($item): bool {
}

/**
* @return string|array
* @return string
*/
public function getType() {

Expand Down
2 changes: 1 addition & 1 deletion src/NumericsCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function checkType($item): bool {
*
* This method should be overridden in sub-classes of this class
*
* @return string|array
* @return string
*
*/
public function getType() {
Expand Down
2 changes: 1 addition & 1 deletion src/ObjectsCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function checkType($item): bool {
}

/**
* @return string|array
* @return string
*/
public function getType() {

Expand Down
2 changes: 1 addition & 1 deletion src/ResourcesCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function checkType($item): bool {
}

/**
* @return string|array
* @return string
*/
public function getType() {

Expand Down
2 changes: 1 addition & 1 deletion src/ScalarsCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function checkType($item): bool {
/**
* This method should be overridden in sub-classes of this class
*
* @return string|array
* @return string
*
*/
public function getType() {
Expand Down
2 changes: 1 addition & 1 deletion src/StrictlyTypedCollectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function checkType($item): bool;

/**
*
* @return string|array a string or array of strings of type name(s) for items acceptable in a collection
* @return string|string[] a string or array of strings of type name(s) for items acceptable in a collection
*
*/
public function getType();
Expand Down
2 changes: 1 addition & 1 deletion src/StringsCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function checkType($item): bool {
}

/**
* @return string|array
* @return string
*/
public function getType() {

Expand Down

0 comments on commit 6e51593

Please sign in to comment.