@@ -58,9 +58,10 @@ class UniqueEloquent implements Rule
5858
5959 /**
6060 * UniqueEloquent constructor.
61- * @param string $model
62- * @param string|null $key
63- * @param Closure|null $builderClosure
61+ *
62+ * @param string $model
63+ * @param string|null $key
64+ * @param Closure|null $builderClosure
6465 */
6566 public function __construct (string $ model , ?string $ key = null , ?Closure $ builderClosure = null )
6667 {
@@ -72,8 +73,8 @@ public function __construct(string $model, ?string $key = null, ?Closure $builde
7273 /**
7374 * Determine if the validation rule passes.
7475 *
75- * @param string $attribute
76- * @param mixed $value
76+ * @param string $attribute
77+ * @param mixed $value
7778 * @return bool
7879 */
7980 public function passes ($ attribute , $ value ): bool
@@ -115,7 +116,6 @@ public function setMessage(string $message, bool $translated): void
115116 * Set a custom validation message.
116117 *
117118 * @param string $message
118- *
119119 * @return $this
120120 */
121121 public function withMessage (string $ message ): self
@@ -129,7 +129,6 @@ public function withMessage(string $message): self
129129 * Set a translated custom validation message.
130130 *
131131 * @param string $translationKey
132- *
133132 * @return $this
134133 */
135134 public function withCustomTranslation (string $ translationKey ): self
@@ -172,15 +171,15 @@ public function message(): string
172171 }
173172
174173 /**
175- * @param Closure|null $builderClosure
174+ * @param Closure|null $builderClosure
176175 */
177176 public function setBuilderClosure (?Closure $ builderClosure ): void
178177 {
179178 $ this ->builderClosure = $ builderClosure ;
180179 }
181180
182181 /**
183- * @param Closure $builderClosure
182+ * @param Closure $builderClosure
184183 * @return $this
185184 */
186185 public function query (Closure $ builderClosure ): self
@@ -191,8 +190,8 @@ public function query(Closure $builderClosure): self
191190 }
192191
193192 /**
194- * @param mixed $id
195- * @param string|null $column
193+ * @param mixed $id
194+ * @param string|null $column
196195 */
197196 public function setIgnore ($ id , ?string $ column = null ): void
198197 {
@@ -202,7 +201,7 @@ public function setIgnore($id, ?string $column = null): void
202201
203202 /**
204203 * @param $id
205- * @param string|null $column
204+ * @param string|null $column
206205 * @return UniqueEloquent
207206 */
208207 public function ignore ($ id , ?string $ column = null ): self
0 commit comments