mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Removed line break
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
fb125af0df
commit
6a2ab2cfb2
|
@ -87,7 +87,6 @@ class ValidationServiceProvider extends ServiceProvider
|
||||||
* Same as unique_undeleted but taking the combination of two columns as unique constrain.
|
* Same as unique_undeleted but taking the combination of two columns as unique constrain.
|
||||||
* This uses the Validator::replacer('two_column_unique_undeleted') below for nicer translations.
|
* This uses the Validator::replacer('two_column_unique_undeleted') below for nicer translations.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Validator::extend('two_column_unique_undeleted', function ($attribute, $value, $parameters, $validator) {
|
Validator::extend('two_column_unique_undeleted', function ($attribute, $value, $parameters, $validator) {
|
||||||
if (count($parameters)) {
|
if (count($parameters)) {
|
||||||
$count = DB::table($parameters[0])
|
$count = DB::table($parameters[0])
|
||||||
|
|
Loading…
Reference in a new issue