@@ -8,10 +8,10 @@ |
||
| 8 | 8 | class Comments extends Endpoint |
| 9 | 9 | { |
| 10 | 10 | |
| 11 | - use CrudEndpoint, BelongsToOrganization; |
|
| 11 | + use CrudEndpoint, BelongsToOrganization; |
|
| 12 | 12 | |
| 13 | - /** |
|
| 14 | - * @var string |
|
| 15 | - */ |
|
| 16 | - protected $endpoint = 'comments'; |
|
| 13 | + /** |
|
| 14 | + * @var string |
|
| 15 | + */ |
|
| 16 | + protected $endpoint = 'comments'; |
|
| 17 | 17 | } |
| 18 | 18 | \ No newline at end of file |
@@ -8,10 +8,10 @@ |
||
| 8 | 8 | class Tasks extends Endpoint |
| 9 | 9 | { |
| 10 | 10 | |
| 11 | - use BelongsToOrganization, CrudEndpoint; |
|
| 11 | + use BelongsToOrganization, CrudEndpoint; |
|
| 12 | 12 | |
| 13 | - /** |
|
| 14 | - * @var string |
|
| 15 | - */ |
|
| 16 | - protected $endpoint = 'tasks'; |
|
| 13 | + /** |
|
| 14 | + * @var string |
|
| 15 | + */ |
|
| 16 | + protected $endpoint = 'tasks'; |
|
| 17 | 17 | } |
| 18 | 18 | \ No newline at end of file |
@@ -8,35 +8,35 @@ |
||
| 8 | 8 | class Cards extends Endpoint |
| 9 | 9 | { |
| 10 | 10 | |
| 11 | - use BelongsToOrganization, CrudEndpoint; |
|
| 11 | + use BelongsToOrganization, CrudEndpoint; |
|
| 12 | 12 | |
| 13 | - /** |
|
| 14 | - * @var string |
|
| 15 | - */ |
|
| 16 | - protected $endpoint = 'cards'; |
|
| 13 | + /** |
|
| 14 | + * @var string |
|
| 15 | + */ |
|
| 16 | + protected $endpoint = 'cards'; |
|
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * @param string $widgetCommonId |
|
| 20 | - * @return mixed |
|
| 21 | - */ |
|
| 22 | - public function getAll($widgetCommonId) |
|
| 23 | - { |
|
| 24 | - return parent::getAll(['widgetCommonId'=>$widgetCommonId]); |
|
| 25 | - } |
|
| 18 | + /** |
|
| 19 | + * @param string $widgetCommonId |
|
| 20 | + * @return mixed |
|
| 21 | + */ |
|
| 22 | + public function getAll($widgetCommonId) |
|
| 23 | + { |
|
| 24 | + return parent::getAll(['widgetCommonId'=>$widgetCommonId]); |
|
| 25 | + } |
|
| 26 | 26 | |
| 27 | - /** |
|
| 28 | - * @param string $cardId |
|
| 29 | - * @param bool $everywhere |
|
| 30 | - * @return mixed |
|
| 31 | - */ |
|
| 32 | - public function delete($cardId, $everywhere) |
|
| 33 | - { |
|
| 34 | - return $this |
|
| 35 | - ->getHttp() |
|
| 36 | - ->delete( |
|
| 37 | - $this->makeRequestUrl($cardId), |
|
| 38 | - ['everywhere' => $everywhere], |
|
| 39 | - $this->getHeaders() |
|
| 40 | - ); |
|
| 41 | - } |
|
| 27 | + /** |
|
| 28 | + * @param string $cardId |
|
| 29 | + * @param bool $everywhere |
|
| 30 | + * @return mixed |
|
| 31 | + */ |
|
| 32 | + public function delete($cardId, $everywhere) |
|
| 33 | + { |
|
| 34 | + return $this |
|
| 35 | + ->getHttp() |
|
| 36 | + ->delete( |
|
| 37 | + $this->makeRequestUrl($cardId), |
|
| 38 | + ['everywhere' => $everywhere], |
|
| 39 | + $this->getHeaders() |
|
| 40 | + ); |
|
| 41 | + } |
|
| 42 | 42 | } |
| 43 | 43 | \ No newline at end of file |
@@ -8,10 +8,10 @@ |
||
| 8 | 8 | class TaskLists extends Endpoint |
| 9 | 9 | { |
| 10 | 10 | |
| 11 | - use CrudEndpoint, BelongsToOrganization; |
|
| 11 | + use CrudEndpoint, BelongsToOrganization; |
|
| 12 | 12 | |
| 13 | - /** |
|
| 14 | - * @var string |
|
| 15 | - */ |
|
| 16 | - protected $endpoint = 'tasklists'; |
|
| 13 | + /** |
|
| 14 | + * @var string |
|
| 15 | + */ |
|
| 16 | + protected $endpoint = 'tasklists'; |
|
| 17 | 17 | } |
| 18 | 18 | \ No newline at end of file |
@@ -9,10 +9,10 @@ |
||
| 9 | 9 | class Columns extends Endpoint |
| 10 | 10 | { |
| 11 | 11 | |
| 12 | - use BelongsToOrganization, CrudEndpoint; |
|
| 12 | + use BelongsToOrganization, CrudEndpoint; |
|
| 13 | 13 | |
| 14 | - /** |
|
| 15 | - * @var string |
|
| 16 | - */ |
|
| 17 | - protected $endpoint = 'columns'; |
|
| 14 | + /** |
|
| 15 | + * @var string |
|
| 16 | + */ |
|
| 17 | + protected $endpoint = 'columns'; |
|
| 18 | 18 | } |
| 19 | 19 | \ No newline at end of file |