Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bcc317d21a | ||
|
|
5f419d476d | ||
|
|
2f181aba73 | ||
|
|
55a38c0a71 | ||
|
|
0abf2a3aa1 | ||
|
|
08f99410b4 | ||
|
|
43d028b30f | ||
|
|
7c2c4f1734 | ||
|
|
028c5bf054 | ||
|
|
58c127bcf7 |
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
+6
-6
@@ -19,14 +19,14 @@
|
||||
],
|
||||
"require": {
|
||||
"php": ">=7.2",
|
||||
"illuminate/http": "6.0.*",
|
||||
"illuminate/routing": "6.0.*",
|
||||
"illuminate/session": "6.0.*",
|
||||
"illuminate/support": "6.0.*",
|
||||
"illuminate/view": "6.0.*"
|
||||
"illuminate/http": "^6.0",
|
||||
"illuminate/routing": "^6.0",
|
||||
"illuminate/session": "^6.0",
|
||||
"illuminate/support": "^6.0",
|
||||
"illuminate/view": "^6.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"illuminate/database": "6.0.*",
|
||||
"illuminate/database": "^6.0",
|
||||
"mockery/mockery": "~1.0",
|
||||
"phpunit/phpunit": "~7.1"
|
||||
},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Forms & HTML
|
||||

|
||||
|
||||
[](https://travis-ci.org/LaravelCollective/html)
|
||||
[](https://packagist.org/packages/laravelcollective/html)
|
||||
|
||||
+1
-1
@@ -1298,7 +1298,7 @@ class FormBuilder
|
||||
&& is_null($old)
|
||||
&& is_null($value)
|
||||
&& !is_null($this->view->shared('errors'))
|
||||
&& count(php_sapi_name() === 'cli' ? [] : $this->view->shared('errors')) > 0
|
||||
&& count(is_countable($this->view->shared('errors')) ? $this->view->shared('errors') : []) > 0
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -2,11 +2,12 @@
|
||||
|
||||
namespace Collective\Html;
|
||||
|
||||
use Illuminate\Contracts\Support\DeferrableProvider;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Illuminate\Support\Str;
|
||||
use Illuminate\View\Compilers\BladeCompiler;
|
||||
|
||||
class HtmlServiceProvider extends ServiceProvider
|
||||
class HtmlServiceProvider extends ServiceProvider implements DeferrableProvider
|
||||
{
|
||||
/**
|
||||
* Supported Blade Directives
|
||||
@@ -16,13 +17,6 @@ class HtmlServiceProvider extends ServiceProvider
|
||||
protected $directives = ['entities','decode','script','style','image','favicon','link','secureLink','linkAsset','linkSecureAsset','linkRoute','linkAction','mailto','email','ol','ul','dl','meta','tag','open','model','close','token','label','input','text','password','hidden','email','tel','number','date','datetime','datetimeLocal','time','url','file','textarea','select','selectRange','selectYear','selectMonth','getSelectOption','checkbox','radio','reset','image','color','submit','button','old'
|
||||
];
|
||||
|
||||
/**
|
||||
* Indicates if loading of the provider is deferred.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected $defer = true;
|
||||
|
||||
/**
|
||||
* Register the service provider.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user