Skip to content

Commit c0eae51

Browse files
committed
added plane format
1 parent 5a361e5 commit c0eae51

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Formatters/PlaneCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,12 @@ private function normalizeValue($value): string
4949
$firstNormalizedValue = is_array($value) ?
5050
self::NORMALIZED_VALUES[3] : $value;
5151

52-
$secondNormalizedValue = (
52+
return (
5353
($firstNormalizedValue === self::NORMALIZED_VALUES[0]) ||
5454
($firstNormalizedValue === self::NORMALIZED_VALUES[1]) ||
5555
($firstNormalizedValue === self::NORMALIZED_VALUES[2]) ||
5656
($firstNormalizedValue === self::NORMALIZED_VALUES[3])
5757
) ? $firstNormalizedValue : "'" . $firstNormalizedValue . "'";
58-
59-
return $secondNormalizedValue;
6058
}
6159

6260
private function getPlaneItem(

0 commit comments

Comments
 (0)