Completed
Push — master ( 0eceaa...aee3a6 )
by Ben
15:21 queued 05:47
created
src/Parsers/RouteParser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@  discard block
 block discarded – undo
57 57
         return $parser->get();
58 58
     }
59 59
 
60
+    /**
61
+     * @param boolean $secure
62
+     */
60 63
     public function set(string $routename, array $parameters = [], $secure = null)
61 64
     {
62 65
         $this->reset();
@@ -98,6 +101,9 @@  discard block
 block discarded – undo
98 101
         return $this;
99 102
     }
100 103
 
104
+    /**
105
+     * @param string $routekey
106
+     */
101 107
     public function resolveRoute($routekey, $parameters = [])
102 108
     {
103 109
         return $this->urlParser->resolveRoute($routekey, $parameters, true);
Please login to merge, or discard this patch.
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)
27 30
     {
28 31
         if (!isset($this->config[$key])) {
Please login to merge, or discard this patch.