@@ -21,6 +21,7 @@  | 
                                                    ||
| 21 | 21 | /**  | 
                                                        
| 22 | 22 | * Return the value at index  | 
                                                        
| 23 | 23 | *  | 
                                                        
| 24 | + * @param string $index  | 
                                                        |
| 24 | 25 | * @return string $index The offset  | 
                                                        
| 25 | 26 | */  | 
                                                        
| 26 | 27 |       public function offsetGet($index) { | 
                                                        
@@ -35,7 +35,7 @@  | 
                                                    ||
| 35 | 35 | *  | 
                                                        
| 36 | 36 | * @param string $data Serialized data  | 
                                                        
| 37 | 37 | *  | 
                                                        
| 38 | - * @return Routes $this  | 
                                                        |
| 38 | + * @return boolean $this  | 
                                                        |
| 39 | 39 | */  | 
                                                        
| 40 | 40 |      public function unserialize($data) { | 
                                                        
| 41 | 41 | |
@@ -24,9 +24,9 @@ discard block  | 
                                                    ||
| 24 | 24 | * This method is a shortcut to filter_var using FILTER_VALIDATE_INT  | 
                                                        
| 25 | 25 | *  | 
                                                        
| 26 | 26 | * @param array $int Int to filter  | 
                                                        
| 27 | - * @param array $min Min value (default to ~PHP_INT_MAX)  | 
                                                        |
| 28 | - * @param array $max Max value (default to PHP_INT_MAX)  | 
                                                        |
| 29 | - * @param array $default Default value  | 
                                                        |
| 27 | + * @param integer $min Min value (default to ~PHP_INT_MAX)  | 
                                                        |
| 28 | + * @param integer $max Max value (default to PHP_INT_MAX)  | 
                                                        |
| 29 | + * @param integer $default Default value  | 
                                                        |
| 30 | 30 | * @return int  | 
                                                        
| 31 | 31 | */  | 
                                                        
| 32 | 32 |      public static function filterInteger($int, $min=~PHP_INT_MAX, $max=PHP_INT_MAX, $default=0) { | 
                                                        
@@ -45,7 +45,7 @@ discard block  | 
                                                    ||
| 45 | 45 | * Filter a TCP/UDP port  | 
                                                        
| 46 | 46 | *  | 
                                                        
| 47 | 47 | * @param array $port  | 
                                                        
| 48 | - * @param array $default  | 
                                                        |
| 48 | + * @param integer $default  | 
                                                        |
| 49 | 49 | * @return int  | 
                                                        
| 50 | 50 | */  | 
                                                        
| 51 | 51 |      public static function filterPort($port, $default = 80) { | 
                                                        
@@ -72,7 +72,6 @@  | 
                                                    ||
| 72 | 72 | /**  | 
                                                        
| 73 | 73 | * Generate an uid (128 bit / 32 char random)  | 
                                                        
| 74 | 74 | *  | 
                                                        
| 75 | - * @param int $length  | 
                                                        |
| 76 | 75 | * @return string  | 
                                                        
| 77 | 76 | */  | 
                                                        
| 78 | 77 |      protected static function getUid() { | 
                                                        
@@ -69,7 +69,6 @@ discard block  | 
                                                    ||
| 69 | 69 | * Create a version identifier class  | 
                                                        
| 70 | 70 | *  | 
                                                        
| 71 | 71 | * @param Configuration|null $configuration  | 
                                                        
| 72 | - * @param string $prefix  | 
                                                        |
| 73 | 72 | */  | 
                                                        
| 74 | 73 |      public function __construct(Configuration $configuration = null) { | 
                                                        
| 75 | 74 | |
@@ -145,6 +144,9 @@ discard block  | 
                                                    ||
| 145 | 144 | |
| 146 | 145 | }  | 
                                                        
| 147 | 146 | |
| 147 | + /**  | 
                                                        |
| 148 | + * @param string $item  | 
                                                        |
| 149 | + */  | 
                                                        |
| 148 | 150 |      private function getConfigurationOverride($item) { | 
                                                        
| 149 | 151 | |
| 150 | 152 | return $this->configuration !== null ?  |