Completed
Push — master ( 18f460...9e5c66 )
by Mikołaj
02:35
created
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.
src/module/Articles/One/Admin/AddModel.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
     /**
10 10
      * Add article.
11 11
      *
12
-     * @param array $data
13 12
      *
14 13
      * @return int Article ID
15 14
      */
Please login to merge, or discard this patch.
src/module/Articles/One/Article.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * Returns article content.
142 142
      *
143
-     * @param bool|int $truncate
143
+     * @param boolean $truncate
144 144
      * @param bool     $stripTags
145 145
      * @param bool     $escape
146 146
      * @param bool     $raw
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
     /**
311 311
      * Returns modifier full name.
312 312
      *
313
-     * @return int
313
+     * @return string
314 314
      */
315 315
     public function modifierFullName($type = '')
316 316
     {
Please login to merge, or discard this patch.