@@ -7,10 +7,10 @@ |
||
7 | 7 | class Columns extends Endpoint |
8 | 8 | { |
9 | 9 | |
10 | - use CrudEndpoint; |
|
10 | + use CrudEndpoint; |
|
11 | 11 | |
12 | - /** |
|
13 | - * @var string |
|
14 | - */ |
|
15 | - protected $endpoint = 'columns'; |
|
12 | + /** |
|
13 | + * @var string |
|
14 | + */ |
|
15 | + protected $endpoint = 'columns'; |
|
16 | 16 | } |
17 | 17 | \ No newline at end of file |
@@ -7,10 +7,10 @@ |
||
7 | 7 | class Comments extends Endpoint |
8 | 8 | { |
9 | 9 | |
10 | - use CrudEndpoint; |
|
10 | + use CrudEndpoint; |
|
11 | 11 | |
12 | - /** |
|
13 | - * @var string |
|
14 | - */ |
|
15 | - protected $endpoint = 'comments'; |
|
12 | + /** |
|
13 | + * @var string |
|
14 | + */ |
|
15 | + protected $endpoint = 'comments'; |
|
16 | 16 | } |
17 | 17 | \ No newline at end of file |
@@ -7,10 +7,10 @@ |
||
7 | 7 | class Tags extends Endpoint |
8 | 8 | { |
9 | 9 | |
10 | - use CrudEndpoint; |
|
10 | + use CrudEndpoint; |
|
11 | 11 | |
12 | - /** |
|
13 | - * @var string |
|
14 | - */ |
|
15 | - protected $endpoint = 'tags'; |
|
12 | + /** |
|
13 | + * @var string |
|
14 | + */ |
|
15 | + protected $endpoint = 'tags'; |
|
16 | 16 | } |
17 | 17 | \ No newline at end of file |
@@ -7,10 +7,10 @@ |
||
7 | 7 | class TaskLists extends Endpoint |
8 | 8 | { |
9 | 9 | |
10 | - use CrudEndpoint; |
|
10 | + use CrudEndpoint; |
|
11 | 11 | |
12 | - /** |
|
13 | - * @var string |
|
14 | - */ |
|
15 | - protected $endpoint = 'tasklists'; |
|
12 | + /** |
|
13 | + * @var string |
|
14 | + */ |
|
15 | + protected $endpoint = 'tasklists'; |
|
16 | 16 | } |
17 | 17 | \ No newline at end of file |
@@ -6,10 +6,10 @@ |
||
6 | 6 | |
7 | 7 | class Collections extends Endpoint |
8 | 8 | { |
9 | - use CrudEndpoint; |
|
9 | + use CrudEndpoint; |
|
10 | 10 | |
11 | - /** |
|
12 | - * @var string |
|
13 | - */ |
|
14 | - protected $endpoint = 'collections'; |
|
11 | + /** |
|
12 | + * @var string |
|
13 | + */ |
|
14 | + protected $endpoint = 'collections'; |
|
15 | 15 | } |
16 | 16 | \ No newline at end of file |
@@ -7,28 +7,28 @@ |
||
7 | 7 | class Widgets extends Endpoint |
8 | 8 | { |
9 | 9 | |
10 | - use CrudEndpoint; |
|
10 | + use CrudEndpoint; |
|
11 | 11 | |
12 | - /** |
|
13 | - * @var string |
|
14 | - */ |
|
15 | - protected $endpoint = 'widgets'; |
|
12 | + /** |
|
13 | + * @var string |
|
14 | + */ |
|
15 | + protected $endpoint = 'widgets'; |
|
16 | 16 | |
17 | - /** |
|
18 | - * @param string $itemId |
|
19 | - * @param string|null $collectionId |
|
20 | - * @return mixed |
|
21 | - */ |
|
22 | - public function delete($itemId, $collectionId = null) |
|
23 | - { |
|
24 | - $attributes = $collectionId ? ['collectionId' => $collectionId] : []; |
|
17 | + /** |
|
18 | + * @param string $itemId |
|
19 | + * @param string|null $collectionId |
|
20 | + * @return mixed |
|
21 | + */ |
|
22 | + public function delete($itemId, $collectionId = null) |
|
23 | + { |
|
24 | + $attributes = $collectionId ? ['collectionId' => $collectionId] : []; |
|
25 | 25 | |
26 | - return $this |
|
27 | - ->getHttp() |
|
28 | - ->delete( |
|
29 | - $this->makeRequestUrl($itemId), |
|
30 | - $attributes, |
|
31 | - $this->getHeaders() |
|
32 | - ); |
|
33 | - } |
|
26 | + return $this |
|
27 | + ->getHttp() |
|
28 | + ->delete( |
|
29 | + $this->makeRequestUrl($itemId), |
|
30 | + $attributes, |
|
31 | + $this->getHeaders() |
|
32 | + ); |
|
33 | + } |
|
34 | 34 | } |
35 | 35 | \ No newline at end of file |
@@ -5,8 +5,8 @@ |
||
5 | 5 | class Users extends Endpoint |
6 | 6 | { |
7 | 7 | |
8 | - /** |
|
9 | - * @var string |
|
10 | - */ |
|
11 | - protected $endpoint = 'users'; |
|
8 | + /** |
|
9 | + * @var string |
|
10 | + */ |
|
11 | + protected $endpoint = 'users'; |
|
12 | 12 | } |
13 | 13 | \ No newline at end of file |