Skip to content

Commit

Permalink
Removed redundant conditional
Browse files Browse the repository at this point in the history
This optimization is redundant / unnecessary.
  • Loading branch information
Ocramius committed Jun 18, 2024
1 parent d3404c8 commit 5ab7ae8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Reflection/StringCast/ReflectionAttributeStringCast.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ public static function toString(ReflectionAttribute $attributeReflection): strin
*/
private static function argumentsToString(array $arguments): string
{
if ($arguments === []) {
return '';
}

$string = '';

$argumentNo = 0;
Expand Down

0 comments on commit 5ab7ae8

Please sign in to comment.