Skip to content

Commit 79c4b80

Browse files
authored
Merge pull request #5 from szepeviktor/spelling
Fix typos
2 parents 741f19a + 4a98990 commit 79c4b80

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

core-concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ namespace App\Models;
7777

7878
use App\Contracts\Models\Addon as Contract;
7979
use Cone\Bazar\Concerns\InteractsWithProxy;
80-
use Illuminate\Databse\Eloquent\Model;
80+
use Illuminate\Database\Eloquent\Model;
8181

8282
class Addon extends Model implements Contract
8383
{

fields.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ It may happen that the attribute does not exists on the model that matches with
5656

5757
```php
5858
use Cone\Root\Fields\Text;
59-
use Illuminate\Databsase\Eloquent\Model;
59+
use Illuminate\Database\Eloquent\Model;
6060
use Illuminate\Http\Request;
6161

6262
Text::make('Title')
@@ -73,7 +73,7 @@ You may define custom value formatters for the field values. In that case you ca
7373

7474
```php
7575
use Cone\Root\Fields\Number;
76-
use Illuminate\Databsase\Eloquent\Model;
76+
use Illuminate\Database\Eloquent\Model;
7777
use Illuminate\Http\Request;
7878
use Illuminate\Support\Number;
7979

@@ -85,14 +85,14 @@ Number::make('Price')
8585

8686
### Value Hydration
8787

88-
You may define custom value hydration logic on your field clasas. To do so, you can easily override the default `hydrate` method:
88+
You may define custom value hydration logic on your field class. To do so, you can easily override the default `hydrate` method:
8989

9090
```php
9191
namespace App\Root\Fields;
9292

9393
use Cone\Root\Fields\Field;
9494
use Illuminate\Http\Request;
95-
use Illuminate\Databsase\Eloquent\Model;
95+
use Illuminate\Database\Eloquent\Model;
9696

9797
class CustomField extends Field
9898
{
@@ -256,7 +256,7 @@ $field->cols(100);
256256

257257
### Relation Fields
258258

259-
Relation fields are represanting Eloquent relation definitions on the resource models. Relation fields are highly customizable and provide a nice and detailed API.
259+
Relation fields are representing Eloquent relation definitions on the resource models. Relation fields are highly customizable and provide a nice and detailed API.
260260

261261
#### BelongsTo
262262

0 commit comments

Comments
 (0)