Skip to content

Commit ead3a5b

Browse files
authored
Wording (laravel#9929)
1 parent 45969e3 commit ead3a5b

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

blade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1435,7 +1435,7 @@ Because the `color` prop was only passed into the parent (`<x-menu>`), it won't
14351435
```
14361436

14371437
> [!WARNING]
1438-
> The `@aware` directive can not access parent data that is not explicitly passed to the parent component via HTML attributes. Default `@props` values that are not explicitly passed to the parent component can not be accessed by the `@aware` directive.
1438+
> The `@aware` directive cannot access parent data that is not explicitly passed to the parent component via HTML attributes. Default `@props` values that are not explicitly passed to the parent component cannot be accessed by the `@aware` directive.
14391439
14401440
<a name="anonymous-component-paths"></a>
14411441
### Anonymous Component Paths

cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ The `get` method also accepts a closure. After the closure is executed, Laravel
327327
// Lock acquired for 10 seconds and automatically released...
328328
});
329329

330-
If the lock is not available at the moment you request it, you may instruct Laravel to wait for a specified number of seconds. If the lock can not be acquired within the specified time limit, an `Illuminate\Contracts\Cache\LockTimeoutException` will be thrown:
330+
If the lock is not available at the moment you request it, you may instruct Laravel to wait for a specified number of seconds. If the lock cannot be acquired within the specified time limit, an `Illuminate\Contracts\Cache\LockTimeoutException` will be thrown:
331331

332332
use Illuminate\Contracts\Cache\LockTimeoutException;
333333

controllers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ You may even register many resource controllers at once by passing an array to t
198198
<a name="customizing-missing-model-behavior"></a>
199199
#### Customizing Missing Model Behavior
200200

201-
Typically, a 404 HTTP response will be generated if an implicitly bound resource model is not found. However, you may customize this behavior by calling the `missing` method when defining your resource route. The `missing` method accepts a closure that will be invoked if an implicitly bound model can not be found for any of the resource's routes:
201+
Typically, a 404 HTTP response will be generated if an implicitly bound resource model is not found. However, you may customize this behavior by calling the `missing` method when defining your resource route. The `missing` method accepts a closure that will be invoked if an implicitly bound model cannot be found for any of the resource's routes:
202202

203203
use App\Http\Controllers\PhotoController;
204204
use Illuminate\Http\Request;

eloquent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ If the `ModelNotFoundException` is not caught, a 404 HTTP response is automatica
631631
<a name="retrieving-or-creating-models"></a>
632632
### Retrieving or Creating Models
633633

634-
The `firstOrCreate` method will attempt to locate a database record using the given column / value pairs. If the model can not be found in the database, a record will be inserted with the attributes resulting from merging the first array argument with the optional second array argument:
634+
The `firstOrCreate` method will attempt to locate a database record using the given column / value pairs. If the model cannot be found in the database, a record will be inserted with the attributes resulting from merging the first array argument with the optional second array argument:
635635

636636
The `firstOrNew` method, like `firstOrCreate`, will attempt to locate a record in the database matching the given attributes. However, if a model is not found, a new model instance will be returned. Note that the model returned by `firstOrNew` has not yet been persisted to the database. You will need to manually call the `save` method to persist it:
637637

encryption.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<a name="introduction"></a>
99
## Introduction
1010

11-
Laravel's encryption services provide a simple, convenient interface for encrypting and decrypting text via OpenSSL using AES-256 and AES-128 encryption. All of Laravel's encrypted values are signed using a message authentication code (MAC) so that their underlying value can not be modified or tampered with once encrypted.
11+
Laravel's encryption services provide a simple, convenient interface for encrypting and decrypting text via OpenSSL using AES-256 and AES-128 encryption. All of Laravel's encrypted values are signed using a message authentication code (MAC) so that their underlying value cannot be modified or tampered with once encrypted.
1212

1313
<a name="configuration"></a>
1414
## Configuration
@@ -65,7 +65,7 @@ You may encrypt a value using the `encryptString` method provided by the `Crypt`
6565
<a name="decrypting-a-value"></a>
6666
#### Decrypting a Value
6767

68-
You may decrypt values using the `decryptString` method provided by the `Crypt` facade. If the value can not be properly decrypted, such as when the message authentication code is invalid, an `Illuminate\Contracts\Encryption\DecryptException` will be thrown:
68+
You may decrypt values using the `decryptString` method provided by the `Crypt` facade. If the value cannot be properly decrypted, such as when the message authentication code is invalid, an `Illuminate\Contracts\Encryption\DecryptException` will be thrown:
6969

7070
use Illuminate\Contracts\Encryption\DecryptException;
7171
use Illuminate\Support\Facades\Crypt;

packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Now, when users of your package execute Laravel's `vendor:publish` command, your
107107
$value = config('courier.option');
108108

109109
> [!WARNING]
110-
> You should not define closures in your configuration files. They can not be serialized correctly when users execute the `config:cache` Artisan command.
110+
> You should not define closures in your configuration files. They cannot be serialized correctly when users execute the `config:cache` Artisan command.
111111
112112
<a name="default-package-configuration"></a>
113113
#### Default Package Configuration

queries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Sometimes you may need to insert an arbitrary string into a query. To create a r
276276
<a name="raw-methods"></a>
277277
### Raw Methods
278278

279-
Instead of using the `DB::raw` method, you may also use the following methods to insert a raw expression into various parts of your query. **Remember, Laravel can not guarantee that any query using raw expressions is protected against SQL injection vulnerabilities.**
279+
Instead of using the `DB::raw` method, you may also use the following methods to insert a raw expression into various parts of your query. **Remember, Laravel cannot guarantee that any query using raw expressions is protected against SQL injection vulnerabilities.**
280280

281281
<a name="selectraw"></a>
282282
#### `selectRaw`
@@ -1096,7 +1096,7 @@ In addition to inserting records into the database, the query builder can also u
10961096

10971097
Sometimes you may want to update an existing record in the database or create it if no matching record exists. In this scenario, the `updateOrInsert` method may be used. The `updateOrInsert` method accepts two arguments: an array of conditions by which to find the record, and an array of column and value pairs indicating the columns to be updated.
10981098

1099-
The `updateOrInsert` method will attempt to locate a matching database record using the first argument's column and value pairs. If the record exists, it will be updated with the values in the second argument. If the record can not be found, a new record will be inserted with the merged attributes of both arguments:
1099+
The `updateOrInsert` method will attempt to locate a matching database record using the first argument's column and value pairs. If the record exists, it will be updated with the values in the second argument. If the record cannot be found, a new record will be inserted with the merged attributes of both arguments:
11001100

11011101
DB::table('users')
11021102
->updateOrInsert(

queues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1649,7 +1649,7 @@ If you defined your DynamoDB table with a `ttl` attribute, you may define config
16491649
<a name="queueing-closures"></a>
16501650
## Queueing Closures
16511651

1652-
Instead of dispatching a job class to the queue, you may also dispatch a closure. This is great for quick, simple tasks that need to be executed outside of the current request cycle. When dispatching closures to the queue, the closure's code content is cryptographically signed so that it can not be modified in transit:
1652+
Instead of dispatching a job class to the queue, you may also dispatch a closure. This is great for quick, simple tasks that need to be executed outside of the current request cycle. When dispatching closures to the queue, the closure's code content is cryptographically signed so that it cannot be modified in transit:
16531653

16541654
$podcast = App\Podcast::find(1);
16551655

routing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ Similarly, you may explicitly instruct Laravel to not scope bindings by invoking
613613
<a name="customizing-missing-model-behavior"></a>
614614
#### Customizing Missing Model Behavior
615615

616-
Typically, a 404 HTTP response will be generated if an implicitly bound model is not found. However, you may customize this behavior by calling the `missing` method when defining your route. The `missing` method accepts a closure that will be invoked if an implicitly bound model can not be found:
616+
Typically, a 404 HTTP response will be generated if an implicitly bound model is not found. However, you may customize this behavior by calling the `missing` method when defining your route. The `missing` method accepts a closure that will be invoked if an implicitly bound model cannot be found:
617617

618618
use App\Http\Controllers\LocationsController;
619619
use Illuminate\Http\Request;

0 commit comments

Comments
 (0)