Skip to content

Commit 0c59468

Browse files
committed
Updated Code style, once again.
1 parent 4d1769f commit 0c59468

File tree

7 files changed

+4
-13
lines changed

7 files changed

+4
-13
lines changed

src/FabianBeiner/Todoist/TodoistClient.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
*
66
* @author Fabian Beiner <fb@fabianbeiner.de>
77
* @license https://opensource.org/licenses/MIT MIT
8-
*
98
* @version 0.8.1 <2019-11-28>
10-
*
119
* @see https://github.com/FabianBeiner/Todoist-PHP-API-Library
1210
*/
1311

@@ -70,9 +68,8 @@ public function __construct(string $apiToken, array $config = [])
7068
* @param string $uri
7169
* @param array $options
7270
*
73-
* @return PromiseInterface
7471
* @throws \Exception
75-
*
72+
* @return PromiseInterface
7673
*/
7774
public function requestAsync($method, $uri = '', array $options = []): PromiseInterface
7875
{

src/FabianBeiner/Todoist/TodoistCommentsTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*
66
* @author Fabian Beiner <fb@fabianbeiner.de>
77
* @license https://opensource.org/licenses/MIT MIT
8-
*
98
* @see https://github.com/FabianBeiner/Todoist-PHP-API-Library
109
*/
1110

src/FabianBeiner/Todoist/TodoistException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*
66
* @author Fabian Beiner <fb@fabianbeiner.de>
77
* @license https://opensource.org/licenses/MIT MIT
8-
*
98
* @see https://github.com/FabianBeiner/Todoist-PHP-API-Library
109
*/
1110

src/FabianBeiner/Todoist/TodoistLabelsTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*
66
* @author Fabian Beiner <fb@fabianbeiner.de>
77
* @license https://opensource.org/licenses/MIT MIT
8-
*
98
* @see https://github.com/FabianBeiner/Todoist-PHP-API-Library
109
*/
1110

src/FabianBeiner/Todoist/TodoistProjectsTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*
66
* @author Fabian Beiner <fb@fabianbeiner.de>
77
* @license https://opensource.org/licenses/MIT MIT
8-
*
98
* @see https://github.com/FabianBeiner/Todoist-PHP-API-Library
109
*/
1110

src/FabianBeiner/Todoist/TodoistTasksTrait.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*
66
* @author Fabian Beiner <fb@fabianbeiner.de>
77
* @license https://opensource.org/licenses/MIT MIT
8-
*
98
* @see https://github.com/FabianBeiner/Todoist-PHP-API-Library
109
*/
1110

@@ -52,7 +51,7 @@ public function createTask(string $content, array $options = [])
5251
}
5352

5453
unset($options['content']);
55-
$data = $this->prepareRequestData(array_merge(['content' => $content], $options));
54+
$data = $this->prepareRequestData(array_merge(['content' => $content], $options));
5655
/** @var object $result Result of the POST request. */
5756
$result = $this->post('tasks', $data);
5857

@@ -122,7 +121,7 @@ public function updateTask(int $taskId, string $content, array $options = []): b
122121
}
123122

124123
unset($options['content']);
125-
$data = $this->prepareRequestData(array_merge(['content' => $content], $options));
124+
$data = $this->prepareRequestData(array_merge(['content' => $content], $options));
126125
/** @var object $result Result of the POST request. */
127126
$result = $this->post('tasks/' . $taskId, $data);
128127

tests/FabianBeiner/Todoist/TodoistClientTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,8 @@ public function testGetAllProjects()
5656
}
5757

5858
/**
59-
* @return int ID of the created project.
6059
* @throws \FabianBeiner\Todoist\TodoistException
61-
*
60+
* @return int ID of the created project.
6261
*/
6362
public function testCreateProject()
6463
{

0 commit comments

Comments
 (0)