Skip to content

Commit

Permalink
Schema: Add class property type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Sep 19, 2023
1 parent 88e1d17 commit 1ca678b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions library/X509/Model/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@

namespace Icinga\Module\X509\Model;

use DateTime;
use ipl\Orm\Behavior\BoolCast;
use ipl\Orm\Behavior\MillisecondTimestamp;
use ipl\Orm\Behaviors;
use ipl\Orm\Model;

/**
* A database model for x509 schema version table
*
* @property int $id Unique identifier of the database schema entries
* @property string $version The current schema version of Icinga Web
* @property DateTime $timestamp The insert/modify time of the schema entry
* @property bool $success Whether the database migration of the current version was successful
* @property ?string $reason The reason why the database migration has failed
*/
class Schema extends Model
{
public function getTableName(): string
Expand Down

0 comments on commit 1ca678b

Please sign in to comment.