Skip to content

Commit

Permalink
Removed unnecessary break from switch statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike van Diepen committed Dec 9, 2019
1 parent 7127846 commit 1c9681a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,9 @@ public function get(string $returnType = self::RETURN_TYPE_JSON): array
switch ($returnType) {
case self::RETURN_TYPE_JSON:
return $this->returnJson($collection);
break;

case self::RETURN_TYPE_ARRAY:
return $this->returnArray($collection);
break;

default:
throw new InvalidReturnTypeException();
Expand Down

0 comments on commit 1c9681a

Please sign in to comment.