@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | class Collections extends CrudEndpoint |
6 | 6 | { |
7 | - /** |
|
8 | - * {@inheritdoc} |
|
9 | - */ |
|
10 | - public function endpoint() |
|
11 | - { |
|
12 | - return 'collections'; |
|
13 | - } |
|
7 | + /** |
|
8 | + * {@inheritdoc} |
|
9 | + */ |
|
10 | + public function endpoint() |
|
11 | + { |
|
12 | + return 'collections'; |
|
13 | + } |
|
14 | 14 | } |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | class Tags extends CrudEndpoint |
6 | 6 | { |
7 | - /** |
|
8 | - * {@inheritdoc} |
|
9 | - */ |
|
10 | - public function endpoint() |
|
11 | - { |
|
12 | - return 'tags'; |
|
13 | - } |
|
7 | + /** |
|
8 | + * {@inheritdoc} |
|
9 | + */ |
|
10 | + public function endpoint() |
|
11 | + { |
|
12 | + return 'tags'; |
|
13 | + } |
|
14 | 14 | } |
@@ -5,34 +5,34 @@ |
||
5 | 5 | |
6 | 6 | class Organizations extends CrudEndpoint |
7 | 7 | { |
8 | - /** |
|
9 | - * @param string $id |
|
10 | - * @return array |
|
11 | - */ |
|
12 | - public function getById($id) |
|
13 | - { |
|
14 | - $this->headers['organizationId'] = $id; |
|
8 | + /** |
|
9 | + * @param string $id |
|
10 | + * @return array |
|
11 | + */ |
|
12 | + public function getById($id) |
|
13 | + { |
|
14 | + $this->headers['organizationId'] = $id; |
|
15 | 15 | |
16 | - return parent::getById($id); |
|
17 | - } |
|
16 | + return parent::getById($id); |
|
17 | + } |
|
18 | 18 | |
19 | - /** |
|
20 | - * @param string $itemId |
|
21 | - * @param array $attributes |
|
22 | - * @return mixed |
|
23 | - */ |
|
24 | - public function update($itemId, array $attributes) |
|
25 | - { |
|
26 | - $this->headers['organizationId'] = $itemId; |
|
19 | + /** |
|
20 | + * @param string $itemId |
|
21 | + * @param array $attributes |
|
22 | + * @return mixed |
|
23 | + */ |
|
24 | + public function update($itemId, array $attributes) |
|
25 | + { |
|
26 | + $this->headers['organizationId'] = $itemId; |
|
27 | 27 | |
28 | - return parent::update($itemId, $attributes); |
|
29 | - } |
|
28 | + return parent::update($itemId, $attributes); |
|
29 | + } |
|
30 | 30 | |
31 | - /** |
|
32 | - * {@inheritdoc} |
|
33 | - */ |
|
34 | - public function endpoint() |
|
35 | - { |
|
36 | - return 'organizations'; |
|
37 | - } |
|
31 | + /** |
|
32 | + * {@inheritdoc} |
|
33 | + */ |
|
34 | + public function endpoint() |
|
35 | + { |
|
36 | + return 'organizations'; |
|
37 | + } |
|
38 | 38 | } |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | class Users extends Endpoint |
6 | 6 | { |
7 | - /** |
|
8 | - * {@inheritdoc} |
|
9 | - */ |
|
10 | - public function endpoint() |
|
11 | - { |
|
12 | - return 'users'; |
|
13 | - } |
|
7 | + /** |
|
8 | + * {@inheritdoc} |
|
9 | + */ |
|
10 | + public function endpoint() |
|
11 | + { |
|
12 | + return 'users'; |
|
13 | + } |
|
14 | 14 | } |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | class Cards extends CrudEndpoint |
6 | 6 | { |
7 | - /** |
|
8 | - * {@inheritdoc} |
|
9 | - */ |
|
10 | - public function endpoint() |
|
11 | - { |
|
12 | - return 'cards'; |
|
13 | - } |
|
7 | + /** |
|
8 | + * {@inheritdoc} |
|
9 | + */ |
|
10 | + public function endpoint() |
|
11 | + { |
|
12 | + return 'cards'; |
|
13 | + } |
|
14 | 14 | } |
@@ -4,11 +4,11 @@ |
||
4 | 4 | |
5 | 5 | class Columns extends CrudEndpoint |
6 | 6 | { |
7 | - /** |
|
8 | - * {@inheritdoc} |
|
9 | - */ |
|
10 | - public function endpoint() |
|
11 | - { |
|
12 | - return 'columns'; |
|
13 | - } |
|
7 | + /** |
|
8 | + * {@inheritdoc} |
|
9 | + */ |
|
10 | + public function endpoint() |
|
11 | + { |
|
12 | + return 'columns'; |
|
13 | + } |
|
14 | 14 | } |