Skip to content

Commit

Permalink
Merge pull request #5 from szepeviktor/spelling
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
iamgergo authored Apr 3, 2024
2 parents 741f19a + 4a98990 commit 79c4b80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion core-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ namespace App\Models;

use App\Contracts\Models\Addon as Contract;
use Cone\Bazar\Concerns\InteractsWithProxy;
use Illuminate\Databse\Eloquent\Model;
use Illuminate\Database\Eloquent\Model;

class Addon extends Model implements Contract
{
Expand Down
10 changes: 5 additions & 5 deletions fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ It may happen that the attribute does not exists on the model that matches with

```php
use Cone\Root\Fields\Text;
use Illuminate\Databsase\Eloquent\Model;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Http\Request;

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

```php
use Cone\Root\Fields\Number;
use Illuminate\Databsase\Eloquent\Model;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Http\Request;
use Illuminate\Support\Number;

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

### Value Hydration

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

```php
namespace App\Root\Fields;

use Cone\Root\Fields\Field;
use Illuminate\Http\Request;
use Illuminate\Databsase\Eloquent\Model;
use Illuminate\Database\Eloquent\Model;

class CustomField extends Field
{
Expand Down Expand Up @@ -256,7 +256,7 @@ $field->cols(100);

### Relation Fields

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

#### BelongsTo

Expand Down

0 comments on commit 79c4b80

Please sign in to comment.