Completed
Push — master ( 598848...fdd2e6 )
by Sergey
23:05 queued 17:57
created
src/Helpers/Providers/Traits/SearchTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function searchCall($query, $scope, $bookmarks = [])
26 26
     {
27
-        $url = UrlHelper::getSearchUrl(! empty($bookmarks));
27
+        $url = UrlHelper::getSearchUrl( ! empty($bookmarks));
28 28
         $get = $this->createSearchRequest($query, $scope, $bookmarks);
29 29
         $url = $url.'?'.UrlHelper::buildRequestString($get);
30 30
         $response = $this->request->exec($url);
Please login to merge, or discard this patch.
src/Api/Providers/Boards.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
     {
136 136
         $get = Request::createRequestData(['options' => ['board_id' => $boardId]], $sourceUrl, $bookmarks);
137 137
         $getString = UrlHelper::buildRequestString($get);
138
-        $response = $this->request->exec($url . '?' . $getString);
138
+        $response = $this->request->exec($url.'?'.$getString);
139 139
 
140 140
         return $this->response->getPaginationData($response);
141 141
     }
Please login to merge, or discard this patch.
src/Api/Providers/Pinners.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         $data = ['options' => ['username' => $username]];
31 31
         $get = Request::createRequestData($data, $sourceUrl, $bookmarks);
32 32
         $getString = UrlHelper::buildRequestString($get);
33
-        $response = $this->request->exec($url . '?' . $getString);
33
+        $response = $this->request->exec($url.'?'.$getString);
34 34
 
35 35
         return $this->response->getPaginationData($response);
36 36
     }
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      */
144 144
     protected function _checkCredentials($username, $password)
145 145
     {
146
-        if (!$username || !$password) {
146
+        if ( ! $username || ! $password) {
147 147
             throw new LogicException('You must set username and password to login.');
148 148
         }
149 149
     }
Please login to merge, or discard this patch.