Skip to content

Commit b22183c

Browse files
committed
docs: add space after //
1 parent e8e8d4e commit b22183c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/models/entities.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ Let's say the class will be located in the 'app/Entity/Cast' directory::
433433

434434
use CodeIgniter\Entity\Cast\BaseCast;
435435

436-
//The class must inherit the CodeIgniter\Entity\Cast\BaseCast class
436+
// The class must inherit the CodeIgniter\Entity\Cast\BaseCast class
437437
class CastBase64 extends BaseCast
438438
{
439439
public static function get($value, array $params = [])
@@ -462,13 +462,13 @@ Now you need to register it::
462462
'key' => 'base64',
463463
];
464464

465-
//Bind the type to the handler
465+
// Bind the type to the handler
466466
protected $castHandlers = [
467467
'base64' => \App\Entity\Cast\CastBase64::class,
468468
];
469469
}
470470

471-
//...
471+
// ...
472472

473473
$entity->key = 'test'; // dGVzdA==
474474
echo $entity->key; // test

0 commit comments

Comments
 (0)