Completed
Push — master ( 21fef4...f7e2e6 )
by Tomasz
05:34
created
src/Gendoria/CruftFlake/Config/ConsulCurl.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@  discard block
 block discarded – undo
25 25
         $this->apiPrefix = $apiPrefix;
26 26
     }
27 27
     
28
+    /**
29
+     * @param string $url
30
+     */
28 31
     public function performGetRequest($url)
29 32
     {
30 33
         $curlUrl = $this->consulBaseUrl . $this->apiPrefix . $url;
@@ -35,6 +38,9 @@  discard block
 block discarded – undo
35 38
         return $returnData;
36 39
     }
37 40
     
41
+    /**
42
+     * @param string $url
43
+     */
38 44
     public function performPutRequest($url, $payload = null)
39 45
     {
40 46
         $curlUrl = $this->consulBaseUrl . $this->apiPrefix . $url;
Please login to merge, or discard this patch.
tests/Gendoria/CruftFlake/GeneratorTest.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -57,6 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * Get generator for normal tests.
59 59
      * 
60
+     * @param integer $newMachineId
60 61
      * @return Generator
61 62
      */
62 63
     private function buildSystemUnderTestHeartbeat($newMachineId)
@@ -70,12 +71,19 @@  discard block
 block discarded – undo
70 71
         return new Generator($this->config, $this->timer);
71 72
     }
72 73
         
74
+    /**
75
+     * @param string $id
76
+     */
73 77
     private function assertId($id)
74 78
     {
75 79
         $this->assertTrue(is_string($id));
76 80
         $this->assertTrue(ctype_digit($id));
77 81
     }
78 82
     
83
+    /**
84
+     * @param string $v1
85
+     * @param string $v2
86
+     */
79 87
     private function assertReallyNotEquals($v1, $v2)
80 88
     {
81 89
         $this->assertTrue($v1 !== $v2);
Please login to merge, or discard this patch.