Skip to content

Commit

Permalink
cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Mar 30, 2014
1 parent b51ab9f commit ee49d83
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 60 deletions.
72 changes: 36 additions & 36 deletions src/Database/Schema/Table.php
Expand Up @@ -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';

/**
Expand Down
48 changes: 24 additions & 24 deletions src/Routing/Router.php
Expand Up @@ -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}';

/**
Expand Down

0 comments on commit ee49d83

Please sign in to comment.