Completed
Branch master (317386)
by Jeroen
02:16
created
src/GuestPassService.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * Create a new Guest Pass.
29
-     * @param  lluminate\Database\Eloquent\Model $owner
30
-     * @param  lluminate\Database\Eloquent\Model $object
29
+     * @param  Model $owner
30
+     * @param  Model $object
31 31
      * @param  string|null                       $view   Leave out the .blade.php extension.
32 32
      * @return bool|Exception
33 33
      */
@@ -51,8 +51,8 @@  discard block
 block discarded – undo
51 51
 
52 52
     /**
53 53
      * Check if the given user created the Guest Pass.
54
-     * @param  lluminate\Database\Eloquent\Model $owner
55
-     * @param  lluminate\Database\Eloquent\Model $guestpass
54
+     * @param  Model $owner
55
+     * @param  Model $guestpass
56 56
      * @return bool
57 57
      */
58 58
     public function isOwner(Model $owner, Model $guestpass)
@@ -70,8 +70,8 @@  discard block
 block discarded – undo
70 70
 
71 71
     /**
72 72
      * Find (or fail) the Guest Pass belonging to an owner-object pairing.
73
-     * @param  lluminate\Database\Eloquent\Model                $owner
74
-     * @param  lluminate\Database\Eloquent\Model                $object
73
+     * @param  Model                $owner
74
+     * @param  Model                $object
75 75
      * @return lluminate\Database\Eloquent\Collection|Exception
76 76
      */
77 77
     public function findGuestPass(Model $owner, Model $object)
Please login to merge, or discard this patch.
src/GuestPassServiceProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * Get the services provided by the provider.
37 37
      *
38
-     * @return array
38
+     * @return string[]
39 39
      */
40 40
     public function provides()
41 41
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public function register()
29 29
     {
30
-        $this->app->singleton('guestpass', function ($app) {
30
+        $this->app->singleton('guestpass', function($app) {
31 31
             return new GuestPassService;
32 32
         });
33 33
     }
Please login to merge, or discard this patch.
database/migrations/guestpass_0_0_1_create_guestpasses_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('guestpasses', function (Blueprint $table) {
16
+        Schema::create('guestpasses', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('key', 10)->unique();
19 19
             $table->string('owner_model');
Please login to merge, or discard this patch.