Passed
Push — master ( 918817...e70355 )
by Menno
02:06
created
src/ConditionBuilder.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      *
46 46
      * @return self
47 47
      */
48
-    public function modelUpdated($model, ?int $modelId = null): self
48
+    public function modelUpdated($model, ?int $modelId = null) : self
49 49
     {
50 50
         list($modelClassName, $modelId) = $this->getModelClassNameAndId($model, $modelId);
51 51
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      *
67 67
      * @return self
68 68
      */
69
-    public function modelSaved($model, ?int $modelId = null): self
69
+    public function modelSaved($model, ?int $modelId = null) : self
70 70
     {
71 71
         list($modelClassName, $modelId) = $this->getModelClassNameAndId($model, $modelId);
72 72
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      *
88 88
      * @return self
89 89
      */
90
-    public function modelDeleted($model, ?int $modelId = null): self
90
+    public function modelDeleted($model, ?int $modelId = null) : self
91 91
     {
92 92
         list($modelClassName, $modelId) = $this->getModelClassNameAndId($model, $modelId);
93 93
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      *
109 109
      * @return self
110 110
      */
111
-    public function modelRestored($model, ?int $modelId = null): self
111
+    public function modelRestored($model, ?int $modelId = null) : self
112 112
     {
113 113
         list($modelClassName, $modelId) = $this->getModelClassNameAndId($model, $modelId);
114 114
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
         ?int $modelId = null,
136 136
         $relatedModel,
137 137
         ?int $relatedModelId = null
138
-    ): self {
138
+    ) : self {
139 139
         list($modelClassName, $modelId) = $this->getModelClassNameAndId($model, $modelId);
140 140
         list($relatedModelClassName, $relatedModelId) = $this->getModelClassNameAndId($relatedModel, $relatedModelId);
141 141
         $this->conditions[] = new Condition(
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
         ?int $modelId = null,
166 166
         $relatedModel,
167 167
         ?int $relatedModelId = null
168
-    ): self {
168
+    ) : self {
169 169
         list($modelClassName, $modelId) = $this->getModelClassNameAndId($model, $modelId);
170 170
         list($relatedModelClassName, $relatedModelId) = $this->getModelClassNameAndId($relatedModel, $relatedModelId);
171 171
         $this->conditions[] = new Condition(
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
         ?int $modelId = null,
196 196
         $relatedModel,
197 197
         ?int $relatedModelId = null
198
-    ): self {
198
+    ) : self {
199 199
         list($modelClassName, $modelId) = $this->getModelClassNameAndId($model, $modelId);
200 200
         list($relatedModelClassName, $relatedModelId) = $this->getModelClassNameAndId($relatedModel, $relatedModelId);
201 201
         $this->conditions[] = new Condition(
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
         ?int $modelId = null,
227 227
         ?string $relatedModelClassName = null,
228 228
         ?int $relatedModelId = null
229
-    ): self {
229
+    ) : self {
230 230
         $this->conditions[] = new Condition(
231 231
             $eventName,
232 232
             $modelClassName,
Please login to merge, or discard this patch.