@@ -86,7 +86,7 @@ Laravel-specific and pure PHP helper functions.
8686
8787# ### `array_except_value()`
8888
89- Removes the given values from the array:
89+ Remove the given values from the array:
9090
9191` ` ` php
9292$array = [' foo' , ' bar' , ' baz' ];
@@ -104,7 +104,7 @@ $array = array_except_value($array, ['bar', 'baz']);
104104
105105# ### `multiarray_set()`
106106
107- Sets a value for each item of the multidimensional array using " dot" notation:
107+ Set a value for each item of the multidimensional array using " dot" notation:
108108
109109` ` ` php
110110$array = [
@@ -124,7 +124,7 @@ multiarray_set($array, 'details.country', 'Germany');
124124
125125# ### `multiarray_sort_by()`
126126
127- Sorts the multidimensional array by few fields:
127+ Sort the multidimensional array by few fields:
128128
129129` ` ` php
130130$array = [
@@ -186,7 +186,7 @@ call_in_background('report:monthly subscriptions', 'sleep 0.3');
186186
187187# ### `db_is_sqlite()`
188188
189- Checks if the default database connection driver is ` sqlite` or not:
189+ Check if the default database connection driver is ` sqlite` or not:
190190
191191` ` ` php
192192if (db_is_sqlite()) {
@@ -196,7 +196,7 @@ if (db_is_sqlite()) {
196196
197197# ### `db_is_mysql()`
198198
199- Checks if the default database connection driver is ` mysql` or not:
199+ Check if the default database connection driver is ` mysql` or not:
200200
201201` ` ` php
202202if (db_is_mysql()) {
@@ -206,7 +206,7 @@ if (db_is_mysql()) {
206206
207207# ### `db_mysql_now()`
208208
209- Returns database datetime, using ` mysql` connection:
209+ Return database datetime, using ` mysql` connection:
210210
211211` ` ` php
212212$now = db_mysql_now ();
@@ -216,7 +216,7 @@ $now = db_mysql_now();
216216
217217# ### `db_mysql_variable()`
218218
219- Returns value of specified ` mysql` variable, or ` false` if the variable doesn' t exist:
219+ Return value of specified ` mysql` variable, or ` false` if the variable doesn' t exist:
220220
221221```php
222222$hostname = db_mysql_variable(' hostname' );
@@ -228,7 +228,7 @@ $hostname = db_mysql_variable('hostname');
228228
229229#### `to_default_timezone()`
230230
231- Converts passed datetime string to the default timezone, which is `app.timezone` config setting:
231+ Convert passed datetime string to the default timezone, which is `app.timezone` config setting:
232232
233233```php
234234$date = to_default_timezone(' 2017-02-28T14:05:01Z' );
@@ -240,7 +240,7 @@ $date = to_default_timezone('2017-02-28T14:05:01Z');
240240
241241#### `backtrace_as_string()`
242242
243- Returns backtrace without arguments as a string:
243+ Return backtrace without arguments as a string:
244244
245245```php
246246$backtrace = backtrace_as_string();
@@ -252,7 +252,7 @@ $backtrace = backtrace_as_string();
252252
253253#### `minimized_backtrace_as_string()`
254254
255- Returns minimized backtrace as a string:
255+ Return minimized backtrace as a string:
256256
257257```php
258258$backtrace = minimized_backtrace_as_string();
@@ -266,7 +266,7 @@ $backtrace = minimized_backtrace_as_string();
266266
267267#### `is_email()`
268268
269- Checks if the specified string is a valid email address or not:
269+ Check if the specified string is a valid email address or not:
270270
271271```php
272272$isEmail = is_email(' john.doe@example.com' );
@@ -276,7 +276,7 @@ $isEmail = is_email('john.doe@example.com');
276276
277277#### `to_rfc2822_email()`
278278
279- Converts addresses data to [RFC 2822](http://www.faqs.org/rfcs/rfc2822.html) string, suitable for PHP [mail()](http://ua2.php.net/manual/en/function.mail.php) function:
279+ Convert addresses data to [RFC 2822](http://www.faqs.org/rfcs/rfc2822.html) string, suitable for PHP [mail()](http://ua2.php.net/manual/en/function.mail.php) function:
280280
281281```php
282282$address = to_rfc2822_email([
@@ -297,7 +297,7 @@ $address = to_rfc2822_email(['address' => 'john.doe@example.com', 'name' => 'Joh
297297
298298#### `to_swiftmailer_emails()`
299299
300- Converts addresses data to format, which is suitable for [SwiftMailer library](http://swiftmailer.org/docs/messages.html):
300+ Convert addresses data to format, which is suitable for [SwiftMailer library](http://swiftmailer.org/docs/messages.html):
301301
302302```php
303303$addresses = to_swiftmailer_emails([
@@ -320,7 +320,7 @@ $address = to_swiftmailer_emails(['address' => 'john.doe@example.com', 'name' =>
320320
321321#### `relative_path()`
322322
323- Returns the relative path of a directory given another one:
323+ Return the relative path of a directory given another one:
324324
325325```php
326326$path = relative_path(' /var/www/htdocs' , ' /var/www/htdocs/example' )
@@ -340,7 +340,7 @@ $path = relative_path('/var/www/htdocs/example/public/../../', '/var/')
340340
341341#### `get_dump()`
342342
343- Returns nicely formatted string representation of the variable, using [Symfony VarDumper Component](http://symfony.com/doc/current/components/var_dumper/introduction.html):
343+ Return nicely formatted string representation of the variable, using [Symfony VarDumper Component](http://symfony.com/doc/current/components/var_dumper/introduction.html):
344344
345345```php
346346$array = [
0 commit comments