Passed
Push — master ( 7e1a51...dce3a0 )
by Sergey
02:59
created
src/Api/Endpoints/Tags.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 
5 5
 class Tags extends CrudEndpoint
6 6
 {
7
-    /**
8
-     * @return string
9
-     */
10
-    public function endpoint()
11
-    {
12
-        return 'tags';
13
-    }
7
+	/**
8
+	 * @return string
9
+	 */
10
+	public function endpoint()
11
+	{
12
+		return 'tags';
13
+	}
14 14
 }
Please login to merge, or discard this patch.
src/Api/Endpoints/Collections.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,11 +4,11 @@
 block discarded – undo
4 4
 
5 5
 class Collections extends CrudEndpoint
6 6
 {
7
-    /**
8
-     * @return string
9
-     */
10
-    public function endpoint()
11
-    {
12
-        return 'collections';
13
-    }
7
+	/**
8
+	 * @return string
9
+	 */
10
+	public function endpoint()
11
+	{
12
+		return 'collections';
13
+	}
14 14
 }
Please login to merge, or discard this patch.
src/Api/Endpoints/Widgets.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -4,29 +4,29 @@
 block discarded – undo
4 4
 
5 5
 class Widgets extends CrudEndpoint
6 6
 {
7
-    /**
8
-     * @param string $itemId
9
-     * @param string|null $collectionId
10
-     * @return mixed
11
-     */
12
-    public function delete($itemId, $collectionId = null)
13
-    {
14
-        $attributes = $collectionId ? ['collectionId' => $collectionId] : [];
7
+	/**
8
+	 * @param string $itemId
9
+	 * @param string|null $collectionId
10
+	 * @return mixed
11
+	 */
12
+	public function delete($itemId, $collectionId = null)
13
+	{
14
+		$attributes = $collectionId ? ['collectionId' => $collectionId] : [];
15 15
 
16
-        return $this
17
-            ->getHttp()
18
-            ->delete(
19
-                $this->makeRequestUrl($itemId),
20
-                $attributes,
21
-                $this->getHeaders()
22
-            );
23
-    }
16
+		return $this
17
+			->getHttp()
18
+			->delete(
19
+				$this->makeRequestUrl($itemId),
20
+				$attributes,
21
+				$this->getHeaders()
22
+			);
23
+	}
24 24
 
25
-    /**
26
-     * @return string
27
-     */
28
-    public function endpoint()
29
-    {
30
-        return 'widgets';
31
-    }
25
+	/**
26
+	 * @return string
27
+	 */
28
+	public function endpoint()
29
+	{
30
+		return 'widgets';
31
+	}
32 32
 }
Please login to merge, or discard this patch.
src/Favro.php 1 patch
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -17,43 +17,43 @@
 block discarded – undo
17 17
 
18 18
 class Favro
19 19
 {
20
-    /**
21
-     * @param string $login
22
-     * @param string $password
23
-     * @return Api
24
-     */
25
-    public static function create($login, $password)
26
-    {
27
-        $httpClient = new GuzzleHttpClient(
28
-            new Client(['auth' => [$login, $password]])
29
-        );
20
+	/**
21
+	 * @param string $login
22
+	 * @param string $password
23
+	 * @return Api
24
+	 */
25
+	public static function create($login, $password)
26
+	{
27
+		$httpClient = new GuzzleHttpClient(
28
+			new Client(['auth' => [$login, $password]])
29
+		);
30 30
 
31
-        return new Api(
32
-            $httpClient,
33
-            new Cards($httpClient),
34
-            new Collections($httpClient),
35
-            new Columns($httpClient),
36
-            new Comments($httpClient),
37
-            new Organizations($httpClient),
38
-            new Tags($httpClient),
39
-            new TaskLists($httpClient),
40
-            new Tasks($httpClient),
41
-            new Users($httpClient),
42
-            new Widgets($httpClient)
43
-        );
44
-    }
31
+		return new Api(
32
+			$httpClient,
33
+			new Cards($httpClient),
34
+			new Collections($httpClient),
35
+			new Columns($httpClient),
36
+			new Comments($httpClient),
37
+			new Organizations($httpClient),
38
+			new Tags($httpClient),
39
+			new TaskLists($httpClient),
40
+			new Tasks($httpClient),
41
+			new Users($httpClient),
42
+			new Widgets($httpClient)
43
+		);
44
+	}
45 45
 
46
-    /**
47
-     * @codeCoverageIgnore
48
-     */
49
-    private function __construct()
50
-    {
51
-    }
46
+	/**
47
+	 * @codeCoverageIgnore
48
+	 */
49
+	private function __construct()
50
+	{
51
+	}
52 52
 
53
-    /**
54
-     * @codeCoverageIgnore
55
-     */
56
-    private function __clone()
57
-    {
58
-    }
53
+	/**
54
+	 * @codeCoverageIgnore
55
+	 */
56
+	private function __clone()
57
+	{
58
+	}
59 59
 }
Please login to merge, or discard this patch.