Completed
Push — master ( 1fd7e7...a2c36e )
by Andrzej
03:49
created
src/Entities/InfectionRaport.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 	/**
87 87
 	 * getId
88 88
 	 *
89
-	 * @return id
89
+	 * @return integer
90 90
 	 */
91 91
 	public function getId() {
92 92
 		return $this->id;
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 	 * @param int $id
99 99
 	 *        	ID
100 100
 	 *        	
101
-	 * @return \Hospitalplugin\Entities\Patient
101
+	 * @return InfectionRaport
102 102
 	 */
103 103
 	public function setId($id) {
104 104
 		$this->id = $id;
Please login to merge, or discard this patch.
src/Entities/InfectionsCRUD.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -28,6 +28,12 @@
 block discarded – undo
28 28
 use Hospitalplugin\utils\Utils;
29 29
 
30 30
 class InfectionsCRUD {
31
+
32
+	/**
33
+	 * @param string $from
34
+	 * @param string $to
35
+	 * @param string $class
36
+	 */
31 37
 	public static function getInfections($from, $to, $wardId, $class) {
32 38
 		$em = ( object ) DoctrineBootstrap::getEntityManager ();
33 39
 		$qb = $em->createQueryBuilder ();
Please login to merge, or discard this patch.
src/Entities/Patient.php 1 patch
Doc Comments   +7 added lines, -10 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 	/**
111 111
 	 * Constructor
112 112
 	 *
113
-	 * @param unknown $args        	
113
+	 * @param integer $args        	
114 114
 	 */
115 115
 	function __construct($args) {
116 116
 		if (! isset ( $args ) || empty ( $args )) {
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 	/**
131 131
 	 * getId
132 132
 	 *
133
-	 * @return id
133
+	 * @return integer
134 134
 	 */
135 135
 	public function getId() {
136 136
 		return $this->id;
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 	/**
153 153
 	 * getName
154 154
 	 *
155
-	 * @return name
155
+	 * @return string
156 156
 	 */
157 157
 	public function getName() {
158 158
 		return $this->name;
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
 	/**
197 197
 	 * getOddzialId
198 198
 	 *
199
-	 * @return oddzialId
199
+	 * @return integer
200 200
 	 */
201 201
 	public function getOddzialId() {
202 202
 		return $this->oddzialId;
@@ -236,8 +236,6 @@  discard block
 block discarded – undo
236 236
 	/**
237 237
 	 * setOddzialId
238 238
 	 *
239
-	 * @param int $oddzialId
240
-	 *        	oddzial id
241 239
 	 *        	
242 240
 	 * @return Patient
243 241
 	 */
@@ -249,7 +247,7 @@  discard block
 block discarded – undo
249 247
 	/**
250 248
 	 * getPesel
251 249
 	 *
252
-	 * @return pesel
250
+	 * @return string
253 251
 	 */
254 252
 	public function getPesel() {
255 253
 		return $this->pesel;
@@ -271,7 +269,7 @@  discard block
 block discarded – undo
271 269
 	/**
272 270
 	 * getKategoriaPacjenta
273 271
 	 *
274
-	 * @return kategoriaPacjenta
272
+	 * @return integer
275 273
 	 */
276 274
 	public function getKategoriaPacjenta() {
277 275
 		return $this->kategoriaPacjenta;
@@ -293,7 +291,7 @@  discard block
 block discarded – undo
293 291
 	/**
294 292
 	 * getTyp
295 293
 	 *
296
-	 * @return typ
294
+	 * @return string
297 295
 	 */
298 296
 	public function getTyp() {
299 297
 		return $this->typ;
@@ -396,7 +394,6 @@  discard block
 block discarded – undo
396 394
 	 * String with comma separated values.
397 395
 	 *
398 396
 	 * @deprecated JSON used
399
-	 * @param unknown $patient        	
400 397
 	 *
401 398
 	 * @return string
402 399
 	 */
Please login to merge, or discard this patch.
src/Entities/PatientCRUD.php 1 patch
Doc Comments   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -51,11 +51,9 @@  discard block
 block discarded – undo
51 51
 	 *
52 52
 	 * TODO(AM) testy na przypadki graniczne - pacjenci z data przed polnoca, po polnocy, godzina przed obecna, po obecnej
53 53
 	 *
54
-	 * @param int $day
55
-	 *        	dayOfTheMonth
56
-	 * @param int $month
57
-	 *        	month
58 54
 	 *        	
55
+	 * @param string $date1
56
+	 * @param string $date2
59 57
 	 * @return Patient array
60 58
 	 */
61 59
 	public static function getPatientsDateRange($date1, $date2, $wardId = 0) {
@@ -73,7 +71,7 @@  discard block
 block discarded – undo
73 71
 	/**
74 72
 	 * getPatient
75 73
 	 *
76
-	 * @param $id $id
74
+	 * @param integer $id
77 75
 	 *        	int
78 76
 	 *        	
79 77
 	 * @return Patient Patient
@@ -111,7 +109,6 @@  discard block
 block discarded – undo
111 109
 	/**
112 110
 	 * setPatientCategories
113 111
 	 *
114
-	 * @param Patient $obj        	
115 112
 	 *
116 113
 	 * @return Patient
117 114
 	 */
Please login to merge, or discard this patch.
src/Entities/PatientDIA.php 1 patch
Doc Comments   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     public $edukacjaZdrowotnaIOpiekaPsychospoleczna;
82 82
     //
83 83
     /**
84
-     * @return aktywnoscFizyczna
84
+     * @return integer
85 85
      */
86 86
     public function getAktywnoscFizyczna()
87 87
     {
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
     /**
92 92
      * @param int $aktywnoscFizyczna int aktywnoscFizyczna
93
-     * @return PatientZZ
93
+     * @return PatientDIA
94 94
      */
95 95
     public function setAktywnoscFizyczna($aktywnoscFizyczna)
96 96
     {
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     }
100 100
 
101 101
     /**
102
-     * @return higiena
102
+     * @return integer
103 103
      */
104 104
     public function getHigiena()
105 105
     {
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
     /**
110 110
      * @param int $higiena int higiena
111
-     * @return PatientZZ
111
+     * @return PatientDIA
112 112
      */
113 113
     public function setHigiena($higiena)
114 114
     {
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     }
118 118
 
119 119
     /**
120
-     * @return odzywianie
120
+     * @return integer
121 121
      */
122 122
     public function getOdzywianie()
123 123
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 
127 127
     /**
128 128
      * @param  int $odzywianie int odzywianie
129
-     * @return PatientZZ
129
+     * @return PatientDIA
130 130
      */
131 131
     public function setOdzywianie($odzywianie)
132 132
     {
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     }
136 136
 
137 137
     /**
138
-     * @return wydalanie
138
+     * @return integer
139 139
      */
140 140
     public function getWydalanie()
141 141
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 
145 145
     /**
146 146
      * @param  int $wydalanie int wydalanie
147
-     * @return PatientZZ
147
+     * @return PatientDIA
148 148
      */
149 149
     public function setWydalanie($wydalanie)
150 150
     {
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     }
154 154
 
155 155
     /**
156
-     * @return pomiarParametrowZyciowych
156
+     * @return integer
157 157
      */
158 158
     public function getPomiarParametrowZyciowych()
159 159
     {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
     /**
164 164
      * @param  int $pomiarParametrowZyciowych int pomiarParametrowZyciowych
165
-     * @return PatientZZ
165
+     * @return PatientDIA
166 166
      */
167 167
     public function setPomiarParametrowZyciowych($pomiarParametrowZyciowych)
168 168
     {
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     }
172 172
 
173 173
     /**
174
-     * @return leczenie
174
+     * @return integer
175 175
      */
176 176
     public function getLeczenie()
177 177
     {
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 
181 181
     /**
182 182
      * @param  int $leczenie int leczenie
183
-     * @return PatientZZ
183
+     * @return PatientDIA
184 184
      */
185 185
     public function setLeczenie($leczenie)
186 186
     {
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 
199 199
     /**
200 200
      * @param  int $edukacjaZdrowotnaIOpiekaPsychospoleczna int edukacjaZdrowotnaIOpiekaPsychospoleczna
201
-     * @return PatientZZ
201
+     * @return PatientDIA
202 202
      */
203 203
     public function setEdukacjaZdrowotnaIOpiekaPsychospoleczna($edukacjaZdrowotnaIOpiekaPsychospoleczna)
204 204
     {
Please login to merge, or discard this patch.
src/Entities/PatientPED.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * getaktywnoscFizyczna
85 85
      * 
86
-     * @return aktywnoscFizyczna int
86
+     * @return integer int
87 87
      */
88 88
     public function getAktywnoscFizyczna()
89 89
     {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     /**
107 107
      * getHigiena
108 108
      * 
109
-     * @return Higiena int Higiena
109
+     * @return integer int Higiena
110 110
      */
111 111
     public function getHigiena()
112 112
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     /**
117 117
      * setHigiena
118 118
      * 
119
-     * @param int $Higiena int higiena
119
+     * @param int $higiena int higiena
120 120
      * 
121 121
      * @return PatientPED
122 122
      */
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     /**
130 130
      * getKarmienieIOdzywianie
131 131
      * 
132
-     * @return KarmienieIOdzywianie
132
+     * @return integer
133 133
      */
134 134
     public function getKarmienieIOdzywianie()
135 135
     {
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     /**
140 140
      * setKarmienieIOdzywianie
141 141
      * 
142
-     * @param int $KarmienieIOdzywianie itn karmienieIOdzywianie
142
+     * @param int $karmienieIOdzywianie itn karmienieIOdzywianie
143 143
      * 
144 144
      * @return PatientPED
145 145
      */
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     /**
153 153
      * getWydalanie
154 154
      * 
155
-     * @return Wydalanie
155
+     * @return integer
156 156
      */
157 157
     public function getWydalanie()
158 158
     {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     /**
163 163
      * PatientPED
164 164
      * 
165
-     * @param int $Wydalanie Wydalanie
165
+     * @param int $wydalanie Wydalanie
166 166
      * 
167 167
      * @return PatientPED
168 168
      */
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
     /**
176 176
      * getPomiarParametrowZyciowych
177 177
      * 
178
-     * @return PomiarParametrowZyciowych
178
+     * @return integer
179 179
      */
180 180
     public function getPomiarParametrowZyciowych()
181 181
     {
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     /**
186 186
      * setPomiarParametrowZyciowych
187 187
      * 
188
-     * @param int $PomiarParametrowZyciowych int PomiarParametrowZyciowych
188
+     * @param int $pomiarParametrowZyciowych int PomiarParametrowZyciowych
189 189
      * 
190 190
      * @return PatientPED
191 191
      */
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
     /**
199 199
      * getLeczenie
200 200
      * 
201
-     * @return Leczenie
201
+     * @return integer
202 202
      */
203 203
     public function getLeczenie()
204 204
     {
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
     /**
222 222
      * getEdukacjaZdrowotnaOrazWsparcieDzieckaIRodzicow
223 223
      * 
224
-     * @return EdukacjaZdrowotnaOrazWsparcieDzieckaIRodzicow
224
+     * @return integer
225 225
      */
226 226
     public function getEdukacjaZdrowotnaOrazWsparcieDzieckaIRodzicow()
227 227
     {
Please login to merge, or discard this patch.
src/Entities/PatientPOL.php 1 patch
Doc Comments   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     public $edukacjaIWsparciePsychiczne;
82 82
     //
83 83
     /**
84
-     * @return aktywnoscFizyczna
84
+     * @return integer
85 85
      */
86 86
     public function getAktywnoscFizyczna()
87 87
     {
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
     /**
92 92
      * @param int $aktywnoscFizyczna int aktywnoscFizyczna
93
-     * @return PatientZZ
93
+     * @return PatientPOL
94 94
      */
95 95
     public function setAktywnoscFizyczna($aktywnoscFizyczna)
96 96
     {
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
     }
100 100
 
101 101
     /**
102
-     * @return higiena
102
+     * @return integer
103 103
      */
104 104
     public function getHigiena()
105 105
     {
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
     /**
110 110
      * @param int $higiena int higiena
111
-     * @return PatientZZ
111
+     * @return PatientPOL
112 112
      */
113 113
     public function setHigiena($higiena)
114 114
     {
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     }
118 118
 
119 119
     /**
120
-     * @return odzywianie
120
+     * @return integer
121 121
      */
122 122
     public function getOdzywianie()
123 123
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 
127 127
     /**
128 128
      * @param  int $odzywianie int odzywianie
129
-     * @return PatientZZ
129
+     * @return PatientPOL
130 130
      */
131 131
     public function setOdzywianie($odzywianie)
132 132
     {
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     }
136 136
 
137 137
     /**
138
-     * @return wydalanie
138
+     * @return integer
139 139
      */
140 140
     public function getWydalanie()
141 141
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 
145 145
     /**
146 146
      * @param  int $wydalanie int wydalanie
147
-     * @return PatientZZ
147
+     * @return PatientPOL
148 148
      */
149 149
     public function setWydalanie($wydalanie)
150 150
     {
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     }
154 154
 
155 155
     /**
156
-     * @return pomiarParametrowZyciowych
156
+     * @return integer
157 157
      */
158 158
     public function getPomiarParametrowZyciowych()
159 159
     {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
     /**
164 164
      * @param  int $pomiarParametrowZyciowych int pomiarParametrowZyciowych
165
-     * @return PatientZZ
165
+     * @return PatientPOL
166 166
      */
167 167
     public function setPomiarParametrowZyciowych($pomiarParametrowZyciowych)
168 168
     {
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     }
172 172
 
173 173
     /**
174
-     * @return leczenie
174
+     * @return integer
175 175
      */
176 176
     public function getLeczenie()
177 177
     {
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 
181 181
     /**
182 182
      * @param  int $leczenie int leczenie
183
-     * @return PatientZZ
183
+     * @return PatientPOL
184 184
      */
185 185
     public function setLeczenie($leczenie)
186 186
     {
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     }
190 190
 
191 191
     /**
192
-     * @return edukacjaIWsparciePsychiczne
192
+     * @return integer
193 193
      */
194 194
     public function getEdukacjaIWsparciePsychiczne()
195 195
     {
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 
199 199
     /**
200 200
      * @param  int $edukacjaIWsparciePsychiczne int edukacjaIWsparciePsychiczne
201
-     * @return PatientZZ
201
+     * @return PatientPOL
202 202
      */
203 203
     public function setEdukacjaIWsparciePsychiczne($edukacjaIWsparciePsychiczne)
204 204
     {
Please login to merge, or discard this patch.
src/Entities/PatientRaport.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@
 block discarded – undo
50 50
 	 *
51 51
 	 * @param unknown $wardId        	
52 52
 	 * @param unknown $type        	
53
-	 * @param unknown $startDate        	
54
-	 * @param unknown $endDate        	
53
+	 * @param string $startDate        	
54
+	 * @param string $endDate        	
55 55
 	 * @return array
56 56
 	 */
57 57
 	public static function getRaportBetweenDates($wardId, $type, $startDate, $endDate) {
Please login to merge, or discard this patch.
src/Entities/PatientRaportOptimized.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,8 @@
 block discarded – undo
59 59
 	/**
60 60
 	 * 
61 61
 	 * @param unknown $wardId
62
-	 * @param unknown $startDate
63
-	 * @param unknown $endDate
62
+	 * @param string $startDate
63
+	 * @param string $endDate
64 64
 	 */
65 65
 	public static function getRaportBetweenDatesNative($wardId, $startDate, $endDate) {
66 66
 		$em = DoctrineBootstrap::getEntityManager ();
Please login to merge, or discard this patch.