Passed
Branch master (72070c)
by Vinicius Lourenço
03:38
created
src/Scheduler/Traits/SchedulerModelTrait.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -27,28 +27,28 @@
 block discarded – undo
27 27
 trait SchedulerModelTrait
28 28
 {
29 29
 	/**
30
-     * Define an inverse one-to-one or many relationship.
31
-     *
32
-     * @param  string  $related
33
-     * @param  string  $foreignKey
34
-     * @param  string  $ownerKey
35
-     * @param  string  $relation
36
-     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
37
-     */
30
+	 * Define an inverse one-to-one or many relationship.
31
+	 *
32
+	 * @param  string  $related
33
+	 * @param  string  $foreignKey
34
+	 * @param  string  $ownerKey
35
+	 * @param  string  $relation
36
+	 * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
37
+	 */
38 38
 	abstract public function belongsTo($related, $foreignKey = null, $ownerKey = null, $relation = null);
39 39
 
40 40
 	/**
41
-     * Get the value of the model's primary key.
42
-     *
43
-     * @return mixed
44
-     */
41
+	 * Get the value of the model's primary key.
42
+	 *
43
+	 * @return mixed
44
+	 */
45 45
 	abstract public function getKey();
46 46
 
47 47
 	/**
48
-     * Retorna apenas os horários que possuem o mesmo [model_type] do [parent] dessa [trait].
49
-     *
50
-     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
51
-     */
48
+	 * Retorna apenas os horários que possuem o mesmo [model_type] do [parent] dessa [trait].
49
+	 *
50
+	 * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
51
+	 */
52 52
 	public function schedules()
53 53
 	{
54 54
 		return $this->belongsTo(Config::get('scheduler.schedules_table'), 'model_id')->where('model_type', self::class);
Please login to merge, or discard this patch.
src/Scheduler/Contracts/SchedulerModelTrait.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -11,28 +11,28 @@
 block discarded – undo
11 11
 interface SchedulerModelInterface
12 12
 {
13 13
 	/**
14
-     * Define an inverse one-to-one or many relationship.
15
-     *
16
-     * @param  string  $related
17
-     * @param  string  $foreignKey
18
-     * @param  string  $ownerKey
19
-     * @param  string  $relation
20
-     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
21
-     */
14
+	 * Define an inverse one-to-one or many relationship.
15
+	 *
16
+	 * @param  string  $related
17
+	 * @param  string  $foreignKey
18
+	 * @param  string  $ownerKey
19
+	 * @param  string  $relation
20
+	 * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
21
+	 */
22 22
 	abstract public function belongsTo($related, $foreignKey = null, $ownerKey = null, $relation = null);
23 23
 
24 24
 	/**
25
-     * Get the value of the model's primary key.
26
-     *
27
-     * @return mixed
28
-     */
25
+	 * Get the value of the model's primary key.
26
+	 *
27
+	 * @return mixed
28
+	 */
29 29
 	abstract public function getKey();
30 30
 
31 31
 	/**
32
-     * Retorna apenas os horários que possuem o mesmo [model_type] do [parent] dessa [trait].
33
-     *
34
-     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
35
-     */
32
+	 * Retorna apenas os horários que possuem o mesmo [model_type] do [parent] dessa [trait].
33
+	 *
34
+	 * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
35
+	 */
36 36
 	public function schedules();
37 37
 
38 38
 	/**
Please login to merge, or discard this patch.