Completed
Push — master ( d5ba90...b78160 )
by Andrii
43:52 queued 28:47
created
src/controllers/ReadmeController.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@  discard block
 block discarded – undo
26 26
         return Yii::$app->charset ?: mb_internal_encoding();
27 27
     }
28 28
 
29
+    /**
30
+     * @param string $char
31
+     */
29 32
     public function renderH($title, $char)
30 33
     {
31 34
         $res = $title . "\n";
@@ -44,6 +47,9 @@  discard block
 block discarded – undo
44 47
         return $this->renderH($title, '-');
45 48
     }
46 49
 
50
+    /**
51
+     * @param string $text
52
+     */
47 53
     public function renderText($text)
48 54
     {
49 55
         $text = trim($text);
@@ -68,6 +74,9 @@  discard block
 block discarded – undo
68 74
         return $text ? "\n## $section\n\n$text\n" : '';
69 75
     }
70 76
 
77
+    /**
78
+     * @param string $file
79
+     */
71 80
     public function getSection($file, $default = null)
72 81
     {
73 82
         $view = Yii::$app->getView();
Please login to merge, or discard this patch.