@@ -102,7 +102,7 @@ |
||
| 102 | 102 | * the container to examine |
| 103 | 103 | * @param string $fieldOrVarName |
| 104 | 104 | * what is the name of $container in the calling code? |
| 105 | - * @return void |
|
| 105 | + * @return boolean |
|
| 106 | 106 | */ |
| 107 | 107 | public function to(FactoryList $container, $fieldOrVarName = '$container') |
| 108 | 108 | { |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | * accessed as an array. |
| 59 | 59 | */ |
| 60 | 60 | class FactoryListContainer |
| 61 | - implements FactoryList |
|
| 61 | + implements FactoryList |
|
| 62 | 62 | { |
| 63 | 63 | // satisfies WriteProtectedEntity interface |
| 64 | 64 | use WriteProtectTab; |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | * the interface that all factory list containers must implement |
| 51 | 51 | */ |
| 52 | 52 | interface FactoryList |
| 53 | - extends ArrayAccess, WriteProtectedEntity |
|
| 53 | + extends ArrayAccess, WriteProtectedEntity |
|
| 54 | 54 | { |
| 55 | 55 | /** |
| 56 | 56 | * return the full list of factories as a real PHP array |
@@ -55,8 +55,8 @@ |
||
| 55 | 55 | * read-only |
| 56 | 56 | */ |
| 57 | 57 | class ContainerIsReadOnly |
| 58 | - extends ParameterisedException |
|
| 59 | - implements DIContainersException, HttpRuntimeErrorException |
|
| 58 | + extends ParameterisedException |
|
| 59 | + implements DIContainersException, HttpRuntimeErrorException |
|
| 60 | 60 | { |
| 61 | 61 | // adds 'getHttpStatus()' that returns a HTTP 500 status value object |
| 62 | 62 | use UnexpectedErrorStatusProvider; |
@@ -53,8 +53,8 @@ |
||
| 53 | 53 | * exception thrown when we're asked for a factory we do not know about |
| 54 | 54 | */ |
| 55 | 55 | class NoSuchFactory |
| 56 | - extends ParameterisedException |
|
| 57 | - implements DIContainersException, HttpRuntimeErrorException |
|
| 56 | + extends ParameterisedException |
|
| 57 | + implements DIContainersException, HttpRuntimeErrorException |
|
| 58 | 58 | { |
| 59 | 59 | // adds 'getHttpStatus()' that returns a HTTP 500 status value object |
| 60 | 60 | use UnexpectedErrorStatusProvider; |
@@ -54,8 +54,8 @@ |
||
| 54 | 54 | * acceptable factory |
| 55 | 55 | */ |
| 56 | 56 | class NotAFactory |
| 57 | - extends ParameterisedException |
|
| 58 | - implements DIContainersException, HttpRuntimeErrorException |
|
| 57 | + extends ParameterisedException |
|
| 58 | + implements DIContainersException, HttpRuntimeErrorException |
|
| 59 | 59 | { |
| 60 | 60 | // adds 'getHttpStatus()' that returns a HTTP 500 status value object |
| 61 | 61 | use UnexpectedErrorStatusProvider; |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | * list of factories |
| 52 | 52 | */ |
| 53 | 53 | class NotAListOfFactories |
| 54 | - extends UnsupportedType |
|
| 55 | - implements DIContainersException |
|
| 54 | + extends UnsupportedType |
|
| 55 | + implements DIContainersException |
|
| 56 | 56 | { |
| 57 | 57 | } |