GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Calendar::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
1
<?php
2
3
/**
4
 * @file
5
 * Class Calendar
6
 */
7
8
namespace Roomify\Bat\Calendar;
9
10
use Roomify\Bat\Calendar\AbstractCalendar;
11
12
/**
13
 * Handles querying and updating the availability information
14
 * relative to a single bookable unit based on BAT's data structure
15
 */
16
class Calendar extends AbstractCalendar {
17
18
  /**
19
   * @param $units
20
   * @param $store
21
   * @param $default_value
22
   */
23
  public function __construct($units, $store, $default_value = 0) {
24
    $this->units = $units;
25
    $this->store = $store;
26
    $this->default_value = $default_value;
27
  }
28
29
}
30