Passed
Push — master ( 8094df...219b00 )
by Ben
08:14
created
src/LocaleUrl.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * @param array $parameters
60 60
      * @param null  $secure
61 61
      *
62
-     * @return mixed
62
+     * @return string
63 63
      */
64 64
     public function to($url, $locale = null, $parameters = [], $secure = null)
65 65
     {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      * @param array $parameters
86 86
      * @param bool  $asCanonical
87 87
      *
88
-     * @return mixed
88
+     * @return string
89 89
      */
90 90
     public function route($name, $locale = null, $parameters = [], $asCanonical = false)
91 91
     {
Please login to merge, or discard this patch.
src/Parsers/UriParameters.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * @param $uri
14 14
      * @param array $parameters
15 15
      *
16
-     * @return mixed|string
16
+     * @return string
17 17
      */
18 18
     public static function replace($uri, $parameters = [])
19 19
     {
Please login to merge, or discard this patch.
src/Values/Config.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@
 block discarded – undo
23 23
         return new static($config);
24 24
     }
25 25
 
26
+    /**
27
+     * @param string $key
28
+     */
26 29
     public function get($key, $default = null)
27 30
     {
28 31
         if (!isset($this->config[$key])) {
Please login to merge, or discard this patch.
src/Parsers/RouteParser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -61,6 +61,9 @@  discard block
 block discarded – undo
61 61
         return $parser->get();
62 62
     }
63 63
 
64
+    /**
65
+     * @param boolean $secure
66
+     */
64 67
     public function set(string $routename, array $parameters = [], $secure = null)
65 68
     {
66 69
         $this->reset();
@@ -104,6 +107,9 @@  discard block
 block discarded – undo
104 107
         return $this;
105 108
     }
106 109
 
110
+    /**
111
+     * @param string $routekey
112
+     */
107 113
     public function resolveRoute($routekey, $parameters = [])
108 114
     {
109 115
         return $this->urlParser->resolveRoute($routekey, $parameters);
Please login to merge, or discard this patch.