Skip to content

Commit 943bc0a

Browse files
committed
-
1 parent 5297923 commit 943bc0a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/Field/UrlField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static function new(string $propertyName, $label = null): self
3434
* Defines the protocol prepended to the URL if it doesn't include it.
3535
* If not set, no protocol is prepended to the URL and the field is rendered
3636
* using an <input type="url"> HTML element to enable local browser validation.
37-
* See https://symfony.com/doc/current/reference/forms/types/url.html#default-protocol
37+
* See https://symfony.com/doc/current/reference/forms/types/url.html#default-protocol.
3838
*/
3939
public function setDefaultProtocol(string $protocol): self
4040
{

tests/Field/UrlFieldTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
namespace EasyCorp\Bundle\EasyAdminBundle\Tests\Field;
44

55
use EasyCorp\Bundle\EasyAdminBundle\Config\Action;
6-
use EasyCorp\Bundle\EasyAdminBundle\Config\Crud;
7-
use EasyCorp\Bundle\EasyAdminBundle\Field\ChoiceField;
8-
use EasyCorp\Bundle\EasyAdminBundle\Field\Configurator\CountryConfigurator;
96
use EasyCorp\Bundle\EasyAdminBundle\Field\Configurator\UrlConfigurator;
10-
use EasyCorp\Bundle\EasyAdminBundle\Field\CountryField;
117
use EasyCorp\Bundle\EasyAdminBundle\Field\UrlField;
128

139
class UrlFieldTest extends AbstractFieldTest

0 commit comments

Comments
 (0)