mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-30 19:50:12 +02:00
cs
This commit is contained in:
@@ -24,7 +24,7 @@ class GermanFactory extends FactoryMethod
|
||||
|
||||
return $obj;
|
||||
break;
|
||||
default :
|
||||
default:
|
||||
throw new \InvalidArgumentException("$type is not a valid vehicle");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user