Completed
Push — master ( cbf465...1405ab )
by Ariel
06:38
created
src/Models/Contact.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * is profile of User.
33 33
      *
34
-     * @return Illuminate\Database\Query Relationship Contact belongs to User query
34
+     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo Relationship Contact belongs to User query
35 35
      */
36 36
     public function user()
37 37
     {
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * belongs to Business.
43 43
      *
44
-     * @return Illuminate\Database\Query Relationship Contact is part of Businesses addressbooks query
44
+     * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany Relationship Contact is part of Businesses addressbooks query
45 45
      */
46 46
     public function businesses()
47 47
     {
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * has Appointments.
53 53
      *
54
-     * @return Illuminate\Database\Query Relationship Contact has booked Appointments query
54
+     * @return \Illuminate\Database\Eloquent\Relations\HasMany Relationship Contact has booked Appointments query
55 55
      */
56 56
     public function appointments()
57 57
     {
Please login to merge, or discard this patch.
src/Models/Preference.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     /**
37 37
      * [getDefault description].
38 38
      *
39
-     * @param [type] $model [description]
39
+     * @param \Timegridio\Concierge\Traits\Preferenceable $model [description]
40 40
      * @param [type] $key   [description]
41 41
      *
42 42
      * @return [type] [description]
Please login to merge, or discard this patch.
src/Models/Service.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * Belongs to service type.
25 25
      *
26
-     * @return Illuminate\Database\Query Relationship Service belongs to type query
26
+     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo Relationship Service belongs to type query
27 27
      */
28 28
     public function type()
29 29
     {
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * belongs to Business.
49 49
      *
50
-     * @return Illuminate\Database\Query Relationship Service belongs to Business query
50
+     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo Relationship Service belongs to Business query
51 51
      */
52 52
     public function business()
53 53
     {
Please login to merge, or discard this patch.
src/Models/Vacancy.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * belongs to Business.
37 37
      *
38
-     * @return Illuminate\Database\Query Relationship Vacancy belongs to Business query
38
+     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo Relationship Vacancy belongs to Business query
39 39
      */
40 40
     public function business()
41 41
     {
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * for Service.
47 47
      *
48
-     * @return Illuminate\Database\Query Relationship Vacancy is for providing Service query
48
+     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo Relationship Vacancy is for providing Service query
49 49
      */
50 50
     public function service()
51 51
     {
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      * holds many Appointments.
57 57
      *
58
-     * @return Illuminate\Database\Query Relationship Vacancy belongs to Business query
58
+     * @return \Illuminate\Database\Eloquent\Relations\HasMany Relationship Vacancy belongs to Business query
59 59
      */
60 60
     public function appointments()
61 61
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     public function scopeForDateTime($query, Carbon $datetime)
91 91
     {
92 92
         return $query->where('start_at', '<=', $datetime->toDateTimeString())
93
-                     ->where('finish_at', '>=', $datetime->toDateTimeString());
93
+                        ->where('finish_at', '>=', $datetime->toDateTimeString());
94 94
     }
95 95
 
96 96
     /**
@@ -195,9 +195,9 @@  discard block
 block discarded – undo
195 195
     public function hasRoomBetween(Carbon $startAt, Carbon $finishAt)
196 196
     {
197 197
         return $this->capacity > $this->appointments()
198
-                                      ->active()
199
-                                      ->affectingInterval($startAt, $finishAt)
200
-                                      ->count() &&
198
+                                        ->active()
199
+                                        ->affectingInterval($startAt, $finishAt)
200
+                                        ->count() &&
201 201
             ($this->start_at <= $startAt && $this->finish_at >= $finishAt);
202 202
     }
203 203
 
Please login to merge, or discard this patch.
migrations/2016_02_01_000000_create_categories_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('categories', function (Blueprint $table) {
15
+        Schema::create('categories', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('slug')->unique();
18 18
             $table->string('name');
Please login to merge, or discard this patch.
migrations/2016_02_01_000000_create_users_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('users', function (Blueprint $table) {
15
+        Schema::create('users', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('username'); // Long enough as to hold an md5
18 18
             $table->string('name');
Please login to merge, or discard this patch.
migrations/2016_02_01_000001_create_domains_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('domains', function (Blueprint $table) {
15
+        Schema::create('domains', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('slug', 50)->unique();
18 18
             $table->integer('owner_id')->unsigned();
Please login to merge, or discard this patch.
migrations/2016_02_01_000002_create_businesses_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('businesses', function (Blueprint $table) {
15
+        Schema::create('businesses', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->integer('category_id')->unsigned();
18 18
             $table->foreign('category_id')->references('id')->on('categories');
Please login to merge, or discard this patch.
migrations/2016_02_01_000003_create_business_user_pivot_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('business_user', function (Blueprint $table) {
15
+        Schema::create('business_user', function(Blueprint $table) {
16 16
             $table->integer('business_id')->unsigned()->index();
17 17
             $table->foreign('business_id')->references('id')->on('businesses')->onDelete('cascade');
18 18
             $table->integer('user_id')->unsigned()->index();
Please login to merge, or discard this patch.