Completed
Push — master ( 978448...e188b3 )
by Andrii
02:12
created
src/controllers/PhpunitController.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -77,6 +77,9 @@  discard block
 block discarded – undo
77 77
         return $this->passthru('phpunit', $args);
78 78
     }
79 79
 
80
+    /**
81
+     * @return string
82
+     */
80 83
     public function getVersion()
81 84
     {
82 85
         if ($this->_version === null) {
@@ -99,6 +102,9 @@  discard block
 block discarded – undo
99 102
         return $this->genFake($file, $path);
100 103
     }
101 104
 
105
+    /**
106
+     * @param string $path
107
+     */
102 108
     public function genFake($file, $path)
103 109
     {
104 110
         $text = $this->getView()->render('phpunit/fake.twig', [
@@ -120,6 +126,9 @@  discard block
 block discarded – undo
120 126
         return $this->genSkel($file);
121 127
     }
122 128
 
129
+    /**
130
+     * @return string
131
+     */
123 132
     public static function prepareFile($file)
124 133
     {
125 134
         return substr($file, -4) === '.php' ? substr($file, 0, -4) : $file;
Please login to merge, or discard this patch.