This commit is contained in:
Dominik Liebler
2013-09-12 11:46:14 +02:00
parent daac491ef0
commit ec6ed14767
5 changed files with 17 additions and 11 deletions

View File

@@ -24,7 +24,7 @@ class GermanFactory extends FactoryMethod
return $obj;
break;
default :
default:
throw new \InvalidArgumentException("$type is not a valid vehicle");
}
}