@@ -455,6 +455,7 @@ discard block |
||
455 | 455 | /** |
456 | 456 | * Transforms the event in a breakdown of days, hours and minutes with associated states. |
457 | 457 | * |
458 | + * @param EventItemizer $itemizer |
|
458 | 459 | * @return array |
459 | 460 | */ |
460 | 461 | public function itemize($itemizer) { |
@@ -465,7 +466,7 @@ discard block |
||
465 | 466 | /** |
466 | 467 | * Saves an event using the Store object |
467 | 468 | * |
468 | - * @param \Roomify\Bat\\Store\Store $store |
|
469 | + * @param Store $store |
|
469 | 470 | * @param string $granularity |
470 | 471 | * |
471 | 472 | * @return boolean |
@@ -262,7 +262,7 @@ |
||
262 | 262 | $itemized[EventItemizer::BAT_HOUR][$minute->format('Y')][$minute->format('n')]['d' . $minute->format('j')]['h' . $minute->format('G')] = -1; |
263 | 263 | $counter++; |
264 | 264 | |
265 | - if ($counter == 60 && $start_minute!==0) { |
|
265 | + if ($counter == 60 && $start_minute !== 0) { |
|
266 | 266 | // Not a real hour - leave as is and move on |
267 | 267 | $counter = 0; |
268 | 268 | $start_minute = 0; |