File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ PHP has powerful database abstraction libraries like Doctrine and Laravel Eloque
1010
1111- PHP 7.4 and later.
1212- PHP PDO extension.
13- - [ InitPHP Validation] ( https://github.com/InitPHP/Validation ) (Only if you want to use validation operations in Model class.)
1413
1514## Supported Databases
1615
@@ -312,7 +311,7 @@ class Posts extends Model
312311 protected bool $updatable = true;
313312
314313 protected array $validation = [
315- 'id' => 'is_unique|integer ', // Validation methods can be string separated by a perpendicular line.
314+ 'id' => 'is_unique|int ', // Validation methods can be string separated by a perpendicular line.
316315 'title' => ['required', 'string'], // Validation methods can be given as an array.
317316 ];
318317
Original file line number Diff line number Diff line change 77 * @author Muhammet ŞAFAK <info@muhammetsafak.com.tr>
88 * @copyright Copyright © 2022 Muhammet ŞAFAK
99 * @license ./LICENSE MIT
10- * @version 1.0
10+ * @version 1.1.7
1111 * @link https://www.muhammetsafak.com.tr
1212 */
1313
You can’t perform that action at this time.
0 commit comments