Completed
Push — master ( 2c5497...f0a77c )
by PROSPER
02:08
created
src/Quotes.php 3 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * Transform the programming quotes into a Collection
32
-     * @return Unicodeveloper\Quotes\Quotes
32
+     * @return Quotes
33 33
      */
34 34
     public function programming()
35 35
     {
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     /**
42 42
      * Transform all the design quotes into a Collection
43
-     * @return Unicodeveloper\Quotes\Quotes
43
+     * @return Quotes
44 44
      */
45 45
     public function design()
46 46
     {
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
     /**
53 53
      * Get all Djkhaled Keys To Success #BlessUp #AnotherOne #TheyDontWantMeToWriteThisPackage
54
-     * @return Unicodeveloper\Quotes\Quotes
54
+     * @return Quotes
55 55
      */
56 56
     public function djkhaled()
57 57
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Unicodeveloper\Quotes;
4 4
 
5
-use GuzzleHttp\Client;
6 5
 use Illuminate\Support\Collection;
7 6
 
8 7
 class Quotes {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      */
21 21
     private function getQuotes($category = null)
22 22
     {
23
-        if(is_null($category)) {
23
+        if (is_null($category)) {
24 24
             return require_once("Quotes/programming.php");
25 25
         }
26 26
 
@@ -93,10 +93,10 @@  discard block
 block discarded – undo
93 93
      */
94 94
     public function blessUp()
95 95
     {
96
-        $blessUp = [];
96
+        $blessUp = [ ];
97 97
 
98
-        foreach($this->quotes->all() as $keys => $success) {
99
-            if(preg_match('/\bbless up\b/i', $success)) {
98
+        foreach ($this->quotes->all() as $keys => $success) {
99
+            if (preg_match('/\bbless up\b/i', $success)) {
100 100
                 array_push($blessUp, $success);
101 101
             }
102 102
         }
Please login to merge, or discard this patch.
src/Facades/Quotes.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,10 +6,10 @@
 block discarded – undo
6 6
 
7 7
 class Quotes extends Facade {
8 8
     /**
9
-   * Get the registered name of the component.
10
-   *
11
-   * @return string
12
-   */
9
+     * Get the registered name of the component.
10
+     *
11
+     * @return string
12
+     */
13 13
     protected static function getFacadeAccessor()
14 14
     {
15 15
         return 'laravel-quotes';
Please login to merge, or discard this patch.
src/QuotesServiceProvider.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -15,10 +15,10 @@  discard block
 block discarded – undo
15 15
     protected $defer = false;
16 16
 
17 17
     /**
18
-    * Register the application services.
19
-    *
20
-    * @return void
21
-    */
18
+     * Register the application services.
19
+     *
20
+     * @return void
21
+     */
22 22
     public function register()
23 23
     {
24 24
       $this->app->bind('laravel-quotes', function() {
@@ -29,9 +29,9 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-    * Get the services provided by the provider
33
-    * @return array
34
-    */
32
+     * Get the services provided by the provider
33
+     * @return array
34
+     */
35 35
     public function provides()
36 36
     {
37 37
       return ['laravel-quotes'];
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,6 +34,6 @@
 block discarded – undo
34 34
     */
35 35
     public function provides()
36 36
     {
37
-      return ['laravel-quotes'];
37
+      return [ 'laravel-quotes' ];
38 38
     }
39 39
 }
40 40
\ No newline at end of file
Please login to merge, or discard this patch.