Completed
Pull Request — master (#8)
by Jeremy
06:08 queued 03:37
created
src/Blind/Preparation.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     }
32 32
 
33 33
     /**
34
-     * @param $study
34
+     * @param Study $study
35 35
      * @param mixed $control
36 36
      * @param Experiment[] $experiments
37 37
      * @param string[] $interfaces
@@ -111,6 +111,9 @@  discard block
 block discarded – undo
111 111
         return $experiment;
112 112
     }
113 113
 
114
+    /**
115
+     * @param string $name
116
+     */
114 117
     private function createPropertyExperiment($name, Study $study, $control, array $trials)
115 118
     {
116 119
         $experiment_name = sprintf('%s::$%s', $study->getName(), $name);
@@ -137,7 +140,7 @@  discard block
 block discarded – undo
137 140
     /**
138 141
      * @param mixed $instance
139 142
      * @param string $name
140
-     * @return callable
143
+     * @return \Closure
141 144
      */
142 145
     private function createPropertyCallable($instance, $name)
143 146
     {
@@ -161,6 +164,9 @@  discard block
 block discarded – undo
161 164
         };
162 165
     }
163 166
 
167
+    /**
168
+     * @param string $name
169
+     */
164 170
     private function createMissingMethodCallable($instance, $name)
165 171
     {
166 172
         return function() use ($instance, $name) {
Please login to merge, or discard this patch.
src/Study.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@
 block discarded – undo
205 205
 
206 206
     /**
207 207
      * @param string ...$interface blind will implement the interfaces specified
208
-     * @return mixed
208
+     * @return Blind
209 209
      */
210 210
     public function blind($interface = null)
211 211
     {
Please login to merge, or discard this patch.