Completed
Pull Request — master (#28)
by Sergey
11:04
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
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
     protected function boardsGetCall($query, $url, $pagination = false)
85 85
     {
86 86
         $getString = UrlHelper::buildRequestString($query);
87
-        $response = $this->request->exec($url . "?{$getString}");
87
+        $response = $this->request->exec($url."?{$getString}");
88 88
         if ($pagination) {
89 89
             return $this->response->getPaginationData($response);
90 90
         }
Please login to merge, or discard this patch.
src/Api/ProvidersContainer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     public function getProvider($provider)
44 44
     {
45 45
         // Check if an instance has already been initiated
46
-        if (!isset($this->providers[$provider])) {
46
+        if ( ! isset($this->providers[$provider])) {
47 47
             $this->addProvider($provider);
48 48
         }
49 49
 
@@ -56,9 +56,9 @@  discard block
 block discarded – undo
56 56
      */
57 57
     private function addProvider($provider)
58 58
     {
59
-        $class = self::PROVIDERS_NAMESPACE . ucfirst($provider);
59
+        $class = self::PROVIDERS_NAMESPACE.ucfirst($provider);
60 60
 
61
-        if (!class_exists($class)) {
61
+        if ( ! class_exists($class)) {
62 62
             throw new WrongProviderException;
63 63
         }
64 64
 
Please login to merge, or discard this patch.