Browse Source

Merge branch 'master' into develop

Dries Vints 5 years ago
parent
commit
1c824f6f9f
2 changed files with 2 additions and 1 deletions
  1. 1 1
      app/Http/Middleware/TrustProxies.php
  2. 1 0
      resources/lang/en/validation.php

+ 1 - 1
app/Http/Middleware/TrustProxies.php

@@ -10,7 +10,7 @@ class TrustProxies extends Middleware
     /**
      * The trusted proxies for this application.
      *
-     * @var array
+     * @var array|string
      */
     protected $proxies;
 

+ 1 - 0
resources/lang/en/validation.php

@@ -40,6 +40,7 @@ return [
     'dimensions' => 'The :attribute has invalid image dimensions.',
     'distinct' => 'The :attribute field has a duplicate value.',
     'email' => 'The :attribute must be a valid email address.',
+    'ends_with' => 'The :attribute must end with one of the following: :values',
     'exists' => 'The selected :attribute is invalid.',
     'file' => 'The :attribute must be a file.',
     'filled' => 'The :attribute field must have a value.',