Skip to content

Commit a7d5bc6

Browse files
committed
minor #706 Enhancement: Use dedicated exception (OskarStark)
This PR was merged into the 1.0-dev branch. Discussion ---------- Enhancement: Use dedicated exception Commits ------- c85bcda Enhancement: Use dedicated exception
2 parents 92bfcd6 + c85bcda commit a7d5bc6

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)