1 | <?php |
||
8 | class Slots extends Availability |
||
9 | { |
||
10 | /** |
||
11 | * Navigate results of a matching slots search |
||
12 | * |
||
13 | * @param string $productId the product id (see /settings/products). If not provided, all products of type "fixed" or "fixedCourse" will be included in the result. If no |
||
14 | * productId is provided, products that are not bookable by customers wil not be included in the result. If productId is provided, the product must |
||
15 | * be of type "fixed" or "fixedCourse". For products of type "flexibleTime", use /availability/matchingslots instead. |
||
16 | * @param string $startTime the start time to search from. Required unless pageNavigationToken is used. |
||
17 | * @param string $endTime the end time to search to. Required unless pageNavigationToken is used. The maximum date range in a single call is 31 days. |
||
18 | * @param string $pageNavigationToken |
||
19 | * @param int $itemsPerPage maximum: 300 |
||
20 | * @param int $pageNumber |
||
21 | * |
||
22 | * @return $this |
||
23 | */ |
||
24 | public function __invoke( |
||
69 | } |
||
70 |
Since your code implements the magic setter
_set
, this function will be called for any write access on an undefined variable. You can add the@property
annotation to your class or interface to document the existence of this variable.Since the property has write access only, you can use the @property-write annotation instead.
Of course, you may also just have mistyped another name, in which case you should fix the error.
See also the PhpDoc documentation for @property.