Skip to content

Commit c85bcda

Browse files
committed
Enhancement: Use dedicated exception
1 parent 92bfcd6 commit c85bcda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Test/MakerTestEnvironment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ private function getTargetSkeletonVersion(): string
469469

470470
break;
471471
default:
472-
throw new \Exception('Invalid target version');
472+
throw new \InvalidArgumentException('Invalid target version');
473473
}
474474
}
475475

0 commit comments

Comments
 (0)