Completed
Push — master ( ec7e71...49b863 )
by Sergey
70:47 queued 53:43
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/Pinners.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      */
71 71
     protected function _checkCredentials($username, $password)
72 72
     {
73
-        if (!$username || !$password) {
73
+        if ( ! $username || ! $password) {
74 74
             throw new LogicException('You must set username and password to login.');
75 75
         }
76 76
     }
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
@@ -61,9 +61,9 @@  discard block
 block discarded – undo
61 61
      */
62 62
     private function addProvider($provider)
63 63
     {
64
-        $className = self::PROVIDERS_NAMESPACE . ucfirst($provider);
64
+        $className = self::PROVIDERS_NAMESPACE.ucfirst($provider);
65 65
 
66
-        if (!class_exists($className)) {
66
+        if ( ! class_exists($className)) {
67 67
             throw new WrongProviderException("Provider $className not found.");
68 68
         }
69 69
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     private function buildProvider($className)
81 81
     {
82 82
         $ref = new ReflectionClass($className);
83
-        if (!$ref->isInstantiable()) {
83
+        if ( ! $ref->isInstantiable()) {
84 84
             throw new WrongProviderException('Provider class is not instantiable.');
85 85
         }
86 86
 
Please login to merge, or discard this patch.