Completed
Push — master ( 39196b...091911 )
by Ariel
06:33
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 1 patch
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.
src/Booking/Timetable.php 1 patch
Doc Comments   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -121,7 +121,6 @@  discard block
 block discarded – undo
121 121
     /**
122 122
      * Setter for interval.
123 123
      *
124
-     * @param  int $minutes
125 124
      *
126 125
      * @return $this
127 126
      */
@@ -280,8 +279,8 @@  discard block
 block discarded – undo
280 279
      * Helper method for Arr::set
281 280
      *
282 281
      * @param  array &$array
283
-     * @param  mixed $key
284
-     * @param  mixed $value
282
+     * @param  string $key
283
+     * @param  integer $value
285 284
      *
286 285
      * @return mixed
287 286
      */
@@ -294,7 +293,7 @@  discard block
 block discarded – undo
294 293
      * Helper method for Arr::get
295 294
      *
296 295
      * @param  array &$array
297
-     * @param  mixed $key
296
+     * @param  string $key
298 297
      * @param  mixed $default
299 298
      *
300 299
      * @return mixed
@@ -304,6 +303,9 @@  discard block
 block discarded – undo
304 303
         return Arr::get($array, $key, $default);
305 304
     }
306 305
 
306
+    /**
307
+     * @param string $array1
308
+     */
307 309
     private function array_substitute(&$array1, $array2)
308 310
     {
309 311
         foreach ($array1 as $key => $value) {
Please login to merge, or discard this patch.
src/Concierge.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Carbon\Carbon;
6 6
 use Timegridio\Concierge\Booking\Strategies\BookingStrategy;
7 7
 use Timegridio\Concierge\Calendar\VacancyCalendar;
8
-use Timegridio\Concierge\Models\Business;
9 8
 use Timegridio\Concierge\Models\Service;
10 9
 
11 10
 /*******************************************************************************
Please login to merge, or discard this patch.
src/Traits/Preferenceable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      * Cast value.
43 43
      *
44 44
      * @param  mixed $value
45
-     * @param  mixed $type
45
+     * @param  string $type
46 46
      *
47 47
      * @return mixed Value.
48 48
      */
Please login to merge, or discard this patch.
src/Booking/Strategies/BookingStrategy.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,12 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Timegridio\Concierge\Booking\Strategies;
4 4
 
5
-use Carbon\Carbon;
6 5
 use Timegridio\Concierge\Booking\Timetable;
7 6
 use Timegridio\Concierge\Exceptions\StrategyNotRecognizedException;
8
-use Timegridio\Concierge\Models\Business;
9
-use Timegridio\Concierge\Models\Contact;
10
-use Timegridio\Concierge\Models\Service;
11 7
 
12 8
 class BookingStrategy
13 9
 {
Please login to merge, or discard this patch.
src/Booking/Strategies/BookingTimeslotStrategy.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -2,13 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Timegridio\Concierge\Booking\Strategies;
4 4
 
5
-use Carbon\Carbon;
6 5
 use Illuminate\Support\Collection;
7 6
 use Timegridio\Concierge\Booking\Timetable;
8
-use Timegridio\Concierge\Models\Appointment;
9
-use Timegridio\Concierge\Models\Business;
10
-use Timegridio\Concierge\Models\Contact;
11
-use Timegridio\Concierge\Models\Service;
12 7
 use Timegridio\Concierge\Models\Vacancy;
13 8
 
14 9
 class BookingTimeslotStrategy implements BookingStrategyInterface
Please login to merge, or discard this patch.