Skip to content

Commit

Permalink
Revert "fixing docblock test model"
Browse files Browse the repository at this point in the history
This reverts commit f16ae35.
  • Loading branch information
escribiendocodigo committed Jun 12, 2024
1 parent d0f0b63 commit 31c0fc7
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
php-versions: [ '7.4', '8.0', '8.1', '8.2' ]
steps:
- uses: actions/checkout@v1

Expand Down
4 changes: 0 additions & 4 deletions tests/_data/console/app/models/files/TestModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ class TestModel extends \Phalcon\Mvc\Model

/**
* Initialize method for model.
*
* @return void
*/
public function initialize()
{
Expand All @@ -48,7 +46,6 @@ public function initialize()
* Allows to query a set of records that match the specified conditions
*
* @param mixed $parameters
*
* @return TestModel[]|TestModel|\Phalcon\Mvc\Model\ResultSetInterface
*/
public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInterface
Expand All @@ -60,7 +57,6 @@ public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInt
* Allows to query the first record that match the specified conditions
*
* @param mixed $parameters
*
* @return TestModel|\Phalcon\Mvc\Model\ResultInterface|\Phalcon\Mvc\ModelInterface|null
*/
public static function findFirst($parameters = null): ?\Phalcon\Mvc\ModelInterface
Expand Down
4 changes: 0 additions & 4 deletions tests/_data/console/app/models/files/TestModel2.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ class TestModel2 extends \Phalcon\Mvc\Model

/**
* Initialize method for model.
*
* @return void
*/
public function initialize()
{
Expand All @@ -34,7 +32,6 @@ public function initialize()
* Allows to query a set of records that match the specified conditions
*
* @param mixed $parameters
*
* @return TestModel2[]|TestModel2|\Phalcon\Mvc\Model\ResultSetInterface
*/
public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInterface
Expand All @@ -46,7 +43,6 @@ public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInt
* Allows to query the first record that match the specified conditions
*
* @param mixed $parameters
*
* @return TestModel2|\Phalcon\Mvc\Model\ResultInterface|\Phalcon\Mvc\ModelInterface|null
*/
public static function findFirst($parameters = null): ?\Phalcon\Mvc\ModelInterface
Expand Down
4 changes: 0 additions & 4 deletions tests/_data/console/app/models/files/TestModel3.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ class TestModel3 extends \Phalcon\Mvc\Model

/**
* Initialize method for model.
*
* @return void
*/
public function initialize()
{
Expand All @@ -34,7 +32,6 @@ public function initialize()
* Allows to query a set of records that match the specified conditions
*
* @param mixed $parameters
*
* @return TestModel3[]|TestModel3|\Phalcon\Mvc\Model\ResultSetInterface
*/
public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInterface
Expand All @@ -46,7 +43,6 @@ public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInt
* Allows to query the first record that match the specified conditions
*
* @param mixed $parameters
*
* @return TestModel3|\Phalcon\Mvc\Model\ResultInterface|\Phalcon\Mvc\ModelInterface|null
*/
public static function findFirst($parameters = null): ?\Phalcon\Mvc\ModelInterface
Expand Down
4 changes: 0 additions & 4 deletions tests/_data/console/app/models/files/TestModel5.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ class TestModel5 extends \Phalcon\Mvc\Model

/**
* Initialize method for model.
*
* @return void
*/
public function initialize()
{
Expand All @@ -33,7 +31,6 @@ public function initialize()
* Allows to query a set of records that match the specified conditions
*
* @param mixed $parameters
*
* @return TestModel5[]|TestModel5|\Phalcon\Mvc\Model\ResultSetInterface
*/
public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInterface
Expand All @@ -45,7 +42,6 @@ public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInt
* Allows to query the first record that match the specified conditions
*
* @param mixed $parameters
*
* @return TestModel5|\Phalcon\Mvc\Model\ResultInterface|\Phalcon\Mvc\ModelInterface|null
*/
public static function findFirst($parameters = null): ?\Phalcon\Mvc\ModelInterface
Expand Down
4 changes: 0 additions & 4 deletions tests/_data/console/app/models/files/Testmodel4.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ class Testmodel4 extends \Phalcon\Mvc\Model

/**
* Initialize method for model.
*
* @return void
*/
public function initialize()
{
Expand All @@ -34,7 +32,6 @@ public function initialize()
* Allows to query a set of records that match the specified conditions
*
* @param mixed $parameters
*
* @return Testmodel4[]|Testmodel4|\Phalcon\Mvc\Model\ResultSetInterface
*/
public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInterface
Expand All @@ -46,7 +43,6 @@ public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInt
* Allows to query the first record that match the specified conditions
*
* @param mixed $parameters
*
* @return Testmodel4|\Phalcon\Mvc\Model\ResultInterface|\Phalcon\Mvc\ModelInterface|null
*/
public static function findFirst($parameters = null): ?\Phalcon\Mvc\ModelInterface
Expand Down

0 comments on commit 31c0fc7

Please sign in to comment.