Completed
Push — 9.0-dev ( 007112...d6cf5f )
by Radu
01:33
created
src/WebServCo/Framework/ArrayStorage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      * @param mixed $setting Can be an array, a string,
24 24
      *                          or a special formatted string
25 25
      *                          (eg 'app|path|project').
26
-     * @param mixed $defaultValue
26
+     * @param boolean $defaultValue
27 27
      * @return mixed
28 28
      */
29 29
     final public static function get($storage = [], $setting = null, $defaultValue = false)
Please login to merge, or discard this patch.
src/WebServCo/Framework/Libraries/Config.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,6 @@
 block discarded – undo
61 61
      *
62 62
      * Data is appended to any existing data.
63 63
      * @param string $setting Name of setting to load.
64
-     * @param string $path Directory where the file is located.
65
-     *                      File name must be <$setting>.php
66 64
      * @return mixed
67 65
      */
68 66
     final public function load($setting, $pathProject)
Please login to merge, or discard this patch.
src/WebServCo/Framework/Libraries/Request.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -200,6 +200,9 @@
 block discarded – undo
200 200
         return trim($string, ' /');
201 201
     }
202 202
     
203
+    /**
204
+     * @param string $string
205
+     */
203 206
     final private function removeSuffix($string)
204 207
     {
205 208
         $suffixes = $this->setting('suffixes');
Please login to merge, or discard this patch.
src/WebServCo/Framework/Libraries/Router.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -27,6 +27,9 @@
 block discarded – undo
27 27
         return [$controller, $action, $args];
28 28
     }
29 29
     
30
+    /**
31
+     * @return string
32
+     */
30 33
     final private function parseCustomRoutes($requestCustom, $routes)
31 34
     {
32 35
         if (is_array($routes)) {
Please login to merge, or discard this patch.
src/WebServCo/Framework/Framework.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@  discard block
 block discarded – undo
12 12
      */
13 13
     private static $libraries = [];
14 14
     
15
+    /**
16
+     * @param string $classType
17
+     */
15 18
     private static function getFullClassName($className, $classType)
16 19
     {
17 20
         switch ($classType) {
@@ -78,6 +81,9 @@  discard block
 block discarded – undo
78 81
         return $reflection->newInstanceArgs($args);
79 82
     }
80 83
     
84
+    /**
85
+     * @param string $className
86
+     */
81 87
     public static function getLibrary($className, $storageKey = null, $configName = null)
82 88
     {
83 89
         $fullClassName = self::getFullClassName($className, 'Library');
Please login to merge, or discard this patch.