Completed
Push — master ( 18f460...9e5c66 )
by Mikołaj
02:35
created
src/component/Hooks/Filter.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,6 @@  discard block
 block discarded – undo
71 71
      * @param string   $tag              The filter hook to which the function to be removed is hooked.
72 72
      * @param callback $functionToRemove The name of the function which should be removed.
73 73
      * @param int      $priority         optional. The priority of the function (default: 10).
74
-     * @param int      $accepted_args    optional. The number of arguments the function accepts (default: 1).
75 74
      *
76 75
      * @return bool Whether the function existed before it was removed.
77 76
      */
@@ -160,7 +159,6 @@  discard block
 block discarded – undo
160 159
      *
161 160
      * @param string $tag     The name of the filter hook.
162 161
      * @param mixed  $value   The value on which the filters hooked to <tt>$tag</tt> are applied on.
163
-     * @param mixed  $var,... Additional variables passed to the functions hooked to <tt>$tag</tt>.
164 162
      *
165 163
      * @return mixed The filtered value after all hooked functions are applied to it.
166 164
      */
Please login to merge, or discard this patch.
src/component/Html/Head.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,6 @@
 block discarded – undo
125 125
     /**
126 126
      * Set page favicon.
127 127
      *
128
-     * @param string $href Favicon location
129 128
      */
130 129
     public function setFavicon($favicon)
131 130
     {
Please login to merge, or discard this patch.
src/component/Logger/Logger.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
         file_put_contents(LOG_ROOT.'/'.$level.'.log', $this->format($message), FILE_APPEND | LOCK_EX);
12 12
     }
13 13
 
14
+    /**
15
+     * @param string $message
16
+     */
14 17
     private function format($message)
15 18
     {
16 19
         return sprintf(
Please login to merge, or discard this patch.
src/component/Routing/Route.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,6 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Sets the pattern for the path.
51 51
      *
52
-     * @param string $pattern The path pattern
53 52
      */
54 53
     private function setPath($path)
55 54
     {
@@ -79,7 +78,7 @@  discard block
 block discarded – undo
79 78
     /**
80 79
      * Returns the controller name.
81 80
      *
82
-     * @return array $controllerName
81
+     * @return string $controllerName
83 82
      */
84 83
     public function getControllerName()
85 84
     {
@@ -109,7 +108,7 @@  discard block
 block discarded – undo
109 108
     /**
110 109
      * Returns the priority.
111 110
      *
112
-     * @return array $priority
111
+     * @return integer $priority
113 112
      */
114 113
     public function getPriority()
115 114
     {
Please login to merge, or discard this patch.
src/framework/Model/BaseModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * Create connection with database.
47 47
      *
48
-     * @return object PDO
48
+     * @return PDO PDO
49 49
      */
50 50
     private function connect()
51 51
     {
Please login to merge, or discard this patch.
src/module/Albums/Model.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -9,6 +9,7 @@
 block discarded – undo
9 9
     /**
10 10
      * Returns part of query.
11 11
      *
12
+     * @param string $part
12 13
      * @return string
13 14
      */
14 15
     protected function queryPart($part)
Please login to merge, or discard this patch.
src/module/Albums/One/Album.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
     /**
136 136
      * Returns modifier full name.
137 137
      *
138
-     * @return int
138
+     * @return string
139 139
      */
140 140
     public function modifierFullName($type = '')
141 141
     {
Please login to merge, or discard this patch.
src/module/Appearance/One/Admin/EditorModel.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@  discard block
 block discarded – undo
15 15
         $this->root = THEMES_ROOT.'/front/'.FRONT_THEME.'/';
16 16
     }
17 17
 
18
+    /**
19
+     * @param string $path
20
+     */
18 21
     public function getFilesListByPath($path)
19 22
     {
20 23
         return array_diff(
@@ -23,6 +26,9 @@  discard block
 block discarded – undo
23 26
         );
24 27
     }
25 28
 
29
+    /**
30
+     * @param string $path
31
+     */
26 32
     public function getFileInfo($path)
27 33
     {
28 34
         $file = $this->root.$path;
@@ -40,6 +46,9 @@  discard block
 block discarded – undo
40 46
         ];
41 47
     }
42 48
 
49
+    /**
50
+     * @param string $path
51
+     */
43 52
     public function saveFile($path, $data)
44 53
     {
45 54
         $file = $this->root.$path;
Please login to merge, or discard this patch.
src/module/Articles/Model.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -9,6 +9,7 @@
 block discarded – undo
9 9
     /**
10 10
      * Returns part of query.
11 11
      *
12
+     * @param string $part
12 13
      * @return string
13 14
      */
14 15
     protected function queryPart($part)
Please login to merge, or discard this patch.