Completed
Pull Request — develop (#61)
by Kevin
09:23
created
lib/File/Configuration/ConfigurationFileRepository.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Magium\Configuration\Config\InvalidConfigurationLocationException;
6 6
 use Magium\Configuration\Config\InvalidDirectoryException;
7 7
 use Magium\Configuration\File\AdapterInterface;
8
-use Magium\Configuration\File\InvalidFileException;
9 8
 
10 9
 class ConfigurationFileRepository implements \ArrayAccess, \Iterator, \Countable
11 10
 {
Please login to merge, or discard this patch.
lib/Container/GenericContainer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
         return $this->container[$id];
44 44
     }
45 45
 
46
+    /**
47
+     * @param string $type
48
+     */
46 49
     public function newInstance($type)
47 50
     {
48 51
         $reflection = new \ReflectionClass($type);
Please login to merge, or discard this patch.
lib/Config/Builder.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @param ConfigurationRepository|null $config
105
+     * @param null|ConfigInterface $config
106 106
      * @return ConfigurationRepository
107 107
      * @throws InvalidConfigurationLocationException
108 108
      * @throws InvalidFileException
@@ -159,6 +159,9 @@  discard block
 block discarded – undo
159 159
         return $structure;
160 160
     }
161 161
 
162
+    /**
163
+     * @param string $callbackString
164
+     */
162 165
     protected function executeCallback($callbackString, $value)
163 166
     {
164 167
         if (function_exists($callbackString)) {
@@ -199,7 +202,7 @@  discard block
 block discarded – undo
199 202
 
200 203
     /**
201 204
      * @param \SimpleXMLElement $structure The object representing the merged configuration structure
202
-     * @param \SimpleXmlElement $config An empty config object to be populated
205
+     * @param ConfigInterface $config An empty config object to be populated
203 206
      * @param string $context The name of the context
204 207
      * @return ConfigurationRepository The resulting configuration object
205 208
      */
Please login to merge, or discard this patch.
lib/View/MagiumRecursiveContextRenderer.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -8,11 +8,6 @@
 block discarded – undo
8 8
 
9 9
 namespace Magium\Configuration\View;
10 10
 
11
-use Zend\Form\Element;
12
-use Zend\Form\ElementInterface;
13
-use Zend\Form\View\Helper\FormElement;
14
-use Zend\Form\View\Helper\FormInput;
15
-use Zend\Form\View\Helper\FormSelect;
16 11
 use Zend\View\Helper\AbstractHelper;
17 12
 
18 13
 class MagiumRecursiveContextRenderer extends AbstractHelper
Please login to merge, or discard this patch.
lib/View/MagiumRenderer.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,6 @@
 block discarded – undo
9 9
 namespace Magium\Configuration\View;
10 10
 
11 11
 use Zend\Form\Element;
12
-use Zend\Form\ElementInterface;
13
-use Zend\Form\View\Helper\FormElement;
14
-use Zend\Form\View\Helper\FormInput;
15
-use Zend\Form\View\Helper\FormSelect;
16 12
 use Zend\View\Helper\AbstractHelper;
17 13
 
18 14
 class MagiumRenderer extends AbstractHelper
Please login to merge, or discard this patch.
lib/View/ViewConfiguration.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@  discard block
 block discarded – undo
27 27
      * @param string $layoutFile
28 28
      * @param string $viewFile
29 29
      * @param boolean $provideWrapperHtml
30
-     * @param boolean $provideJqueryUrl
31 30
      * @throws InvalidViewConfigurationException
32 31
      */
33 32
     public function __construct(
@@ -62,7 +61,7 @@  discard block
 block discarded – undo
62 61
     }
63 62
 
64 63
     /**
65
-     * @param mixed $bootstrapCssUrl
64
+     * @param string $bootstrapCssUrl
66 65
      */
67 66
     public function setBootstrapCssUrl($bootstrapCssUrl)
68 67
     {
@@ -78,7 +77,7 @@  discard block
 block discarded – undo
78 77
     }
79 78
 
80 79
     /**
81
-     * @param mixed $bootstrapJsUrl
80
+     * @param string $bootstrapJsUrl
82 81
      */
83 82
     public function setBootstrapJsUrl($bootstrapJsUrl)
84 83
     {
@@ -96,7 +95,7 @@  discard block
 block discarded – undo
96 95
     }
97 96
 
98 97
     /**
99
-     * @param mixed $provideWrapperHtml
98
+     * @param boolean $provideWrapperHtml
100 99
      */
101 100
     public function setProvideWrapperHtml($provideWrapperHtml)
102 101
     {
Please login to merge, or discard this patch.