Completed
Push — add-day-types ( 2a5b59...6f4108 )
by
unknown
01:24
created
src/JhFlexiTime/Validator/UniqueObject.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * Returns false if there is another object with the same field values but other identifiers.
19 19
      *
20
-     * @param  mixed $value
20
+     * @param  string $value
21 21
      * @param  array $context
22 22
      * @return boolean
23 23
      */
Please login to merge, or discard this patch.
test/JhFlexiTimeTest/Controller/BookingControllerTest.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -89,6 +89,9 @@  discard block
 block discarded – undo
89 89
         $this->user = $ZfcUserMock;
90 90
     }
91 91
 
92
+    /**
93
+     * @param string $method
94
+     */
92 95
     public function configureMockBookingService($method, array $params, $return)
93 96
     {
94 97
         $expects = $this->bookingService->expects($this->once())
@@ -98,6 +101,9 @@  discard block
 block discarded – undo
98 101
         call_user_func_array([$expects, "with"], $params);
99 102
     }
100 103
 
104
+    /**
105
+     * @param string $method
106
+     */
101 107
     public function configureMockTimeCalculatorService($method, array $params, $return)
102 108
     {
103 109
         $expects = $this->timeCalculatorService->expects($this->once())
@@ -107,6 +113,9 @@  discard block
 block discarded – undo
107 113
         call_user_func_array([$expects, "with"], $params);
108 114
     }
109 115
 
116
+    /**
117
+     * @return \JhFlexiTime\Service\BookingService
118
+     */
110 119
     public function getBookingService()
111 120
     {
112 121
         $mock = $this->getMockBuilder('JhFlexiTime\Service\BookingService')
@@ -118,6 +127,9 @@  discard block
 block discarded – undo
118 127
         return $mock;
119 128
     }
120 129
 
130
+    /**
131
+     * @return \JhFlexiTime\Service\TimeCalculatorService
132
+     */
121 133
     public function getTimeCalculatorService()
122 134
     {
123 135
         $mock = $this->getMockBuilder('JhFlexiTime\Service\TimeCalculatorService')
@@ -129,6 +141,9 @@  discard block
 block discarded – undo
129 141
         return $mock;
130 142
     }
131 143
 
144
+    /**
145
+     * @return \Zend\Form\FormInterface
146
+     */
132 147
     public function getForm()
133 148
     {
134 149
         return $this->getMock('Zend\Form\FormInterface');
Please login to merge, or discard this patch.
test/JhFlexiTimeTest/Controller/BookingRestControllerTest.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -99,6 +99,9 @@  discard block
 block discarded – undo
99 99
         $this->user = $ZfcUserMock;
100 100
     }
101 101
 
102
+    /**
103
+     * @param string $method
104
+     */
102 105
     public function configureMockBookingService($method, array $params, $return)
103 106
     {
104 107
         $expects = $this->bookingService->expects($this->once())
@@ -108,6 +111,9 @@  discard block
 block discarded – undo
108 111
         call_user_func_array([$expects, "with"], $params);
109 112
     }
110 113
 
114
+    /**
115
+     * @param string $method
116
+     */
111 117
     public function configureMockTimeCalculatorService($method, array $params, $return)
112 118
     {
113 119
         $expects = $this->timeCalculatorService->expects($this->once())
@@ -117,6 +123,9 @@  discard block
 block discarded – undo
117 123
         call_user_func_array([$expects, "with"], $params);
118 124
     }
119 125
 
126
+    /**
127
+     * @return \JhFlexiTime\Service\BookingService
128
+     */
120 129
     public function getBookingService()
121 130
     {
122 131
         $mock = $this->getMockBuilder('JhFlexiTime\Service\BookingService')
@@ -128,6 +137,9 @@  discard block
 block discarded – undo
128 137
         return $mock;
129 138
     }
130 139
 
140
+    /**
141
+     * @return \JhFlexiTime\Service\TimeCalculatorService
142
+     */
131 143
     public function getTimeCalculatorService()
132 144
     {
133 145
         $mock = $this->getMockBuilder('JhFlexiTime\Service\TimeCalculatorService')
Please login to merge, or discard this patch.
test/JhFlexiTimeTest/Validator/UniqueObjectTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@
 block discarded – undo
24 24
         $this->repository    = $this->getMock('Doctrine\Common\Persistence\ObjectRepository');
25 25
     }
26 26
 
27
+    /**
28
+     * @param string[] $fields
29
+     */
27 30
     protected function getValidator($fields, $useContext = true)
28 31
     {
29 32
         return $this->validator = new UniqueObject([
Please login to merge, or discard this patch.