From 63f54ad0655f893c81793363eebf968600aa8ca6 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 4 Nov 2023 15:09:16 +0100 Subject: [PATCH] fix typo --- src/BackendBehaviors.php | 2 +- src/Manage.php | 4 ++-- src/Service/ServiceBilbolinks.php | 2 +- src/Service/ServiceBitly.php | 2 +- src/Service/ServiceCustom.php | 6 +++--- src/Service/ServiceLocal.php | 2 +- src/Service/ServiceYourls.php | 6 +++--- src/Widgets.php | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/BackendBehaviors.php b/src/BackendBehaviors.php index da41cea..71063b4 100644 --- a/src/BackendBehaviors.php +++ b/src/BackendBehaviors.php @@ -122,7 +122,7 @@ class BackendBehaviors ->for('kutrl_create_custom'), (new Input('kutrl_create_custom')) ->size(32) - ->maxlenght(32) + ->maxlength(32) ->class('maximal') ->value(''), ]); diff --git a/src/Manage.php b/src/Manage.php index c86b0fb..223f3ad 100644 --- a/src/Manage.php +++ b/src/Manage.php @@ -163,7 +163,7 @@ class Manage extends Process ->for('custom'), (new Input('custom')) ->size(50) - ->maxlenght(32) + ->maxlength(32) ->value(''), ]); $fields[] = (new Note()) @@ -190,7 +190,7 @@ class Manage extends Process ->for('str'), (new Input('str')) ->size(100) - ->maxlenght(255) + ->maxlength(255) ->value(''), ]), ... $fields, diff --git a/src/Service/ServiceBilbolinks.php b/src/Service/ServiceBilbolinks.php index c2e5fc5..9589374 100644 --- a/src/Service/ServiceBilbolinks.php +++ b/src/Service/ServiceBilbolinks.php @@ -61,7 +61,7 @@ class ServiceBilbolinks extends Service ->for('kutrl_srv_bilbolinks_base'), (new Input('kutrl_srv_bilbolinks_base')) ->size(50) - ->maxlenght(255) + ->maxlength(255) ->value((string) $this->settings->get('srv_bilbolinks_base')), ]), (new Note()) diff --git a/src/Service/ServiceBitly.php b/src/Service/ServiceBitly.php index 4edadcd..2fb42e1 100644 --- a/src/Service/ServiceBitly.php +++ b/src/Service/ServiceBitly.php @@ -58,7 +58,7 @@ class ServiceBitly extends Service ->for('kutrl_srv_bitly_apikey'), (new Input('kutrl_srv_bitly_apikey')) ->size(50) - ->maxlenght(255) + ->maxlength(255) ->value((string) $this->settings->get('srv_bitly_apikey')), ]), (new Note()) diff --git a/src/Service/ServiceCustom.php b/src/Service/ServiceCustom.php index 2c7838a..c00a03e 100644 --- a/src/Service/ServiceCustom.php +++ b/src/Service/ServiceCustom.php @@ -83,7 +83,7 @@ class ServiceCustom extends Service ->for('kutrl_srv_custom_url_api'), (new Input('kutrl_srv_custom_url_api')) ->size(50) - ->maxlenght(255) + ->maxlength(255) ->value((string) $config['url_api']), ]), (new Note()) @@ -95,7 +95,7 @@ class ServiceCustom extends Service ->for('kutrl_srv_custom_url_base'), (new Input('kutrl_srv_custom_url_base')) ->size(50) - ->maxlenght(255) + ->maxlength(255) ->value((string) $config['url_base']), ]), (new Note()) @@ -107,7 +107,7 @@ class ServiceCustom extends Service ->for('kutrl_srv_custom_url_param'), (new Input('kutrl_srv_custom_url_param')) ->size(50) - ->maxlenght(255) + ->maxlength(255) ->value((string) $config['url_param']), ]), (new Note()) diff --git a/src/Service/ServiceLocal.php b/src/Service/ServiceLocal.php index 3942aa1..2b3327f 100644 --- a/src/Service/ServiceLocal.php +++ b/src/Service/ServiceLocal.php @@ -69,7 +69,7 @@ class ServiceLocal extends Service ->for('kutrl_srv_local_protocols'), (new Input('kutrl_srv_local_protocols')) ->size(50) - ->maxlenght(255) + ->maxlength(255) ->value((string) $this->settings->get('srv_local_protocols')), ]), (new Note()) diff --git a/src/Service/ServiceYourls.php b/src/Service/ServiceYourls.php index 119174a..49c07be 100644 --- a/src/Service/ServiceYourls.php +++ b/src/Service/ServiceYourls.php @@ -65,7 +65,7 @@ class ServiceYourls extends Service ->for('kutrl_srv_yourls_base'), (new Input('kutrl_srv_yourls_base')) ->size(50) - ->maxlenght(255) + ->maxlength(255) ->value((string) $this->settings->get('srv_yourls_base')), (new Note()) ->class('form-note') @@ -77,7 +77,7 @@ class ServiceYourls extends Service ->for('kutrl_srv_yourls_username'), (new Input('kutrl_srv_yourls_username')) ->size(50) - ->maxlenght(255) + ->maxlength(255) ->value((string) $this->settings->get('srv_yourls_username')), (new Note()) ->class('form-note') @@ -89,7 +89,7 @@ class ServiceYourls extends Service ->for('kutrl_srv_yourls_password'), (new Input('kutrl_srv_yourls_password')) ->size(50) - ->maxlenght(255) + ->maxlength(255) ->value((string) $this->settings->get('srv_yourls_password')), (new Note()) ->class('form-note') diff --git a/src/Widgets.php b/src/Widgets.php index 7ca5621..b7f5e4e 100644 --- a/src/Widgets.php +++ b/src/Widgets.php @@ -145,7 +145,7 @@ class Widgets ->for('longurl'), (new Input('longurl')) ->size(20) - ->maxlenght(255) + ->maxlength(255) ->value(''), ]), (new Para()) @@ -154,7 +154,7 @@ class Widgets ->for('hmf'), (new Input('hmf')) ->size(20) - ->maxlenght(255) + ->maxlength(255) ->value(''), ]), (new Para())