Completed
Branch develop (a27a66)
by Stuart
04:54
created
src/V1/Requirements/RequireWriteableContainer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/V1/FactoryList/Containers/FactoryListContainer.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/V1/Interfaces/FactoryList.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/V1/Exceptions/DIContainersExceptions.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -55,14 +55,14 @@
 block discarded – undo
55 55
         // all of the exceptions that our library can create, and the means
56 56
         // to create them
57 57
         $ourExceptions = [
58
-            'ContainerIsReadOnly::newFromInputParameter' => [ ContainerIsReadOnly::class, 'newFromInputParameter' ],
59
-            'ContainerIsReadOnly::newFromVar' => [ ContainerIsReadOnly::class, 'newFromVar' ],
60
-            'NoSuchFactory::newFromInputParameter' => [ NoSuchFactory::class, 'newFromInputParameter' ],
61
-            'NoSuchFactory::newFromVar' => [ NoSuchFactory::class, 'newFromVar' ],
62
-            'NotAFactory::newFromInputParameter' => [ NotAFactory::class, 'newFromInputParameter' ],
63
-            'NotAFactory::newFromVar' => [ NotAFactory::class, 'newFromVar' ],
64
-            'NotAListOfFactories::newFromInputParameter' => [ NotAListOfFactories:: class, 'newFromInputParameter' ],
65
-            'NotAListOfFactories::newFromVar' => [ NotAListOfFactories:: class, 'newFromVar' ],
58
+            'ContainerIsReadOnly::newFromInputParameter' => [ContainerIsReadOnly::class, 'newFromInputParameter'],
59
+            'ContainerIsReadOnly::newFromVar' => [ContainerIsReadOnly::class, 'newFromVar'],
60
+            'NoSuchFactory::newFromInputParameter' => [NoSuchFactory::class, 'newFromInputParameter'],
61
+            'NoSuchFactory::newFromVar' => [NoSuchFactory::class, 'newFromVar'],
62
+            'NotAFactory::newFromInputParameter' => [NotAFactory::class, 'newFromInputParameter'],
63
+            'NotAFactory::newFromVar' => [NotAFactory::class, 'newFromVar'],
64
+            'NotAListOfFactories::newFromInputParameter' => [NotAListOfFactories:: class, 'newFromInputParameter'],
65
+            'NotAListOfFactories::newFromVar' => [NotAListOfFactories:: class, 'newFromVar'],
66 66
         ];
67 67
 
68 68
         // special case - we have to pass $this into our parent constructor
Please login to merge, or discard this patch.
src/V1/Exceptions/ContainerIsReadOnly.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/V1/Exceptions/NoSuchFactory.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/V1/Exceptions/NotAFactory.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/V1/Exceptions/NotAListOfFactories.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.