Skip to content

Commit ef25988

Browse files
committed
Fixing typos
1 parent eea4717 commit ef25988

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/2. Active Record.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Notice that we did not have to save the customer record. By assigning it to the
146146
You can always just assign the id's directly: `$orderDetail->purchase_order_id = $purchase_order->purchase_order_id;`. Saving the OrderDetail record is up to you.
147147

148148
### Other Types Of Related Records
149-
See [Virtual Fields](https://github.com/phpfui/ORM/blob/main/docs/5.%20Virtual%20Fields.md) for information on how to impliment child or many to many relationships.
149+
See [Virtual Fields](https://github.com/phpfui/ORM/blob/main/docs/5.%20Virtual%20Fields.md) for information on how to implement child or many to many relationships.
150150

151151
### Multi Database Support
152152
Related Records will always return a record from the currently selected database. Care must be taken when using multiple databases that any references to related records are done while the correct database instance is active. Cursors will continue to use the database in effect when they were created.

docs/3. Active Table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ The third parameter is the join type (LEFT, INNER, OUTER, RIGHT, FULL, CROSS).
115115
The forth parameter is the AS option.
116116

117117
### Unions
118-
Unions can be implimented by configuring another table with a matching number of selects and then calling **addUnion**. Unions can have full Join, Where, Group By, Having, Order By and Limit clauses.
118+
Unions can be implemented by configuring another table with a matching number of selects and then calling **addUnion**. Unions can have full Join, Where, Group By, Having, Order By and Limit clauses.
119119
```php
120120
$table = new \Tests\App\Table\InventoryTransactionType();
121121
$table->addSelect('inventory_transaction_type_id', 'id');

docs/5. Virtual Fields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ foreach ($suppliers as $supplier)
157157
## Cast Virtual Field
158158
Often you want to use PHP class instead of a native scalar type (string, int, float, bool) to make your life easier. The Carbon class is an excellent example of a widely used package. It would be nice to get and set Carbon objects instead of strings formatted to the MySQL date format.
159159

160-
Use \PHPFUI\ORM\Cast virtual field to accommplish this. The Cast virtual field works with a wide variety of packages, as its only requirements are to implement **__toString** and a construct from a value.
160+
Use \PHPFUI\ORM\Cast virtual field to accommplish this. The Cast virtual field works with a wide variety of packages, as its only requirements are to implement **__toString** and construct from a value.
161161
### Usage
162162
```php
163163
class Invoice extends \Tests\App\Record\Definition\Order

src/PHPFUI/ORM/Record.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public function blankDate(?string $date) : string
257257
}
258258

259259
/**
260-
* clean is called before insert or update. Override to impliment cleaning on a specific record
260+
* clean is called before insert or update. Override to implement cleaning on a specific record
261261
*/
262262
public function clean() : static
263263
{

0 commit comments

Comments
 (0)