Skip to content

Commit

Permalink
Reapplying Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenikkusu committed Apr 17, 2022
1 parent de13df8 commit 6144436
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 11 additions & 1 deletion phalcon/Db/Index.zep
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Index implements IndexInterface
*
* @var string|null
*/
protected type { get };
protected type;

/**
* Phalcon\Db\Index constructor
Expand All @@ -71,4 +71,14 @@ class Index implements IndexInterface
let this->columns = columns;
let this->type = type;
}

/**
* Index type
*
* @return string|null
*/
public function getType() -> string | null
{
return this->type;
}
}
12 changes: 11 additions & 1 deletion phalcon/Db/Reference.zep
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Reference implements ReferenceInterface
*
* @var string|null
*/
protected schemaName { get };
protected schemaName;

/**
* ON DELETE
Expand Down Expand Up @@ -141,4 +141,14 @@ class Reference implements ReferenceInterface
);
}
}

/**
* Schema name
*
* @var string|null
*/
public function getSchemaName() -> string | null
{
return this->schemaName;
}
}

0 comments on commit 6144436

Please sign in to comment.