Completed
Push — master ( cc6ec1...3e4435 )
by Dan Michael O.
02:33
created
src/Volume.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
         "smallThumbnail",
18 18
     ];
19 19
 
20
+    /**
21
+     * @param GoogleBooks $client
22
+     */
20 23
     public function __construct($client, $data, $full=false)
21 24
     {
22 25
         $this->client = $client;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
         "smallThumbnail",
18 18
     ];
19 19
 
20
-    public function __construct($client, $data, $full=false)
20
+    public function __construct($client, $data, $full = false)
21 21
     {
22 22
         $this->client = $client;
23 23
         $this->data = $data;
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * @param string $preferredSize
30 30
      * @return mixed|null
31 31
      */
32
-    public function getCover($preferredSize='extraLarge')
32
+    public function getCover($preferredSize = 'extraLarge')
33 33
     {
34 34
         $url = null;
35 35
 
Please login to merge, or discard this patch.
src/Exceptions/UsageLimitExceeded.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
        - 'userRateLimitExceeded': The per-user limit from the Developer Console has been reached.
10 10
        - 'userRateLimitExceededUnreg': Limit when unregistered
11 11
        - More?
12
-    */
12
+     */
13 13
     private $reason;
14 14
 
15 15
     public function __construct($message, $reason)
Please login to merge, or discard this patch.
src/GoogleBooks.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
         $this->maxResults = isset($options['maxResults']) ? $options['maxResults'] : null;
71 71
     }
72 72
 
73
-    protected function raw($endpoint, $params = [], $method='GET')
73
+    protected function raw($endpoint, $params = [], $method = 'GET')
74 74
     {
75 75
         if (!is_null($this->key)) {
76 76
             $params['key'] = $this->key;
Please login to merge, or discard this patch.
src/GoogleBooksServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
      */
31 31
     public function register()
32 32
     {
33
-        $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'googlebooks');
33
+        $this->mergeConfigFrom(__DIR__ . '/../config/config.php', 'googlebooks');
34 34
 
35
-        $this->app->singleton(GoogleBooks::class, function () {
35
+        $this->app->singleton(GoogleBooks::class, function() {
36 36
             $config = config('googlebooks');
37 37
             $this->validateConfig($config);
38 38
             return new GoogleBooks($config);
Please login to merge, or discard this patch.