diff --git a/src/Database/Schema/Table.php b/src/Database/Schema/Table.php index 29bc0582207..e9d993d8c4d 100644 --- a/src/Database/Schema/Table.php +++ b/src/Database/Schema/Table.php @@ -154,66 +154,66 @@ class Table { ]; /** - * Primary constraint type - * - * @var string - */ + * Primary constraint type + * + * @var string + */ const CONSTRAINT_PRIMARY = 'primary'; /** - * Unique constraint type - * - * @var string - */ + * Unique constraint type + * + * @var string + */ const CONSTRAINT_UNIQUE = 'unique'; /** - * Foreign constraint type - * - * @var string - */ + * Foreign constraint type + * + * @var string + */ const CONSTRAINT_FOREIGN = 'foreign'; /** - * Index - index type - * - * @var string - */ + * Index - index type + * + * @var string + */ const INDEX_INDEX = 'index'; /** - * Fulltext index type - * - * @var string - */ + * Fulltext index type + * + * @var string + */ const INDEX_FULLTEXT = 'fulltext'; /** - * Foreign key cascade action - * - * @var string - */ + * Foreign key cascade action + * + * @var string + */ const ACTION_CASCADE = 'cascade'; /** - * Foreign key set null action - * - * @var string - */ + * Foreign key set null action + * + * @var string + */ const ACTION_SET_NULL = 'setNull'; /** - * Foreign key no action - * - * @var string - */ + * Foreign key no action + * + * @var string + */ const ACTION_NO_ACTION = 'noAction'; /** - * Foreign key restrict action - * - * @var string - */ + * Foreign key restrict action + * + * @var string + */ const ACTION_RESTRICT = 'restrict'; /** diff --git a/src/Routing/Router.php b/src/Routing/Router.php index 552e2db5be9..ea4fd754cdf 100644 --- a/src/Routing/Router.php +++ b/src/Routing/Router.php @@ -77,45 +77,45 @@ class Router { protected static $_validExtensions = array(); /** - * Regular expression for action names - * - * @var string - */ + * Regular expression for action names + * + * @var string + */ const ACTION = 'index|show|add|create|edit|update|remove|del|delete|view|item'; /** - * Regular expression for years - * - * @var string - */ + * Regular expression for years + * + * @var string + */ const YEAR = '[12][0-9]{3}'; /** - * Regular expression for months - * - * @var string - */ + * Regular expression for months + * + * @var string + */ const MONTH = '0[1-9]|1[012]'; /** - * Regular expression for days - * - * @var string - */ + * Regular expression for days + * + * @var string + */ const DAY = '0[1-9]|[12][0-9]|3[01]'; /** - * Regular expression for auto increment IDs - * - * @var string - */ + * Regular expression for auto increment IDs + * + * @var string + */ const ID = '[0-9]+'; /** - * Regular expression for UUIDs - * - * @var string - */ + * Regular expression for UUIDs + * + * @var string + */ const UUID = '[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}'; /**