Skip to content

Commit f16ae35

Browse files
fixing docblock test model
1 parent 591b237 commit f16ae35

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed

tests/_data/console/app/models/files/TestModel.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ class TestModel extends \Phalcon\Mvc\Model
3535

3636
/**
3737
* Initialize method for model.
38+
*
39+
* @return void
3840
*/
3941
public function initialize()
4042
{
@@ -46,6 +48,7 @@ public function initialize()
4648
* Allows to query a set of records that match the specified conditions
4749
*
4850
* @param mixed $parameters
51+
*
4952
* @return TestModel[]|TestModel|\Phalcon\Mvc\Model\ResultSetInterface
5053
*/
5154
public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInterface
@@ -57,6 +60,7 @@ public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInt
5760
* Allows to query the first record that match the specified conditions
5861
*
5962
* @param mixed $parameters
63+
*
6064
* @return TestModel|\Phalcon\Mvc\Model\ResultInterface|\Phalcon\Mvc\ModelInterface|null
6165
*/
6266
public static function findFirst($parameters = null): ?\Phalcon\Mvc\ModelInterface

tests/_data/console/app/models/files/TestModel2.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class TestModel2 extends \Phalcon\Mvc\Model
2121

2222
/**
2323
* Initialize method for model.
24+
*
25+
* @return void
2426
*/
2527
public function initialize()
2628
{
@@ -32,6 +34,7 @@ public function initialize()
3234
* Allows to query a set of records that match the specified conditions
3335
*
3436
* @param mixed $parameters
37+
*
3538
* @return TestModel2[]|TestModel2|\Phalcon\Mvc\Model\ResultSetInterface
3639
*/
3740
public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInterface
@@ -43,6 +46,7 @@ public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInt
4346
* Allows to query the first record that match the specified conditions
4447
*
4548
* @param mixed $parameters
49+
*
4650
* @return TestModel2|\Phalcon\Mvc\Model\ResultInterface|\Phalcon\Mvc\ModelInterface|null
4751
*/
4852
public static function findFirst($parameters = null): ?\Phalcon\Mvc\ModelInterface

tests/_data/console/app/models/files/TestModel3.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class TestModel3 extends \Phalcon\Mvc\Model
2121

2222
/**
2323
* Initialize method for model.
24+
*
25+
* @return void
2426
*/
2527
public function initialize()
2628
{
@@ -32,6 +34,7 @@ public function initialize()
3234
* Allows to query a set of records that match the specified conditions
3335
*
3436
* @param mixed $parameters
37+
*
3538
* @return TestModel3[]|TestModel3|\Phalcon\Mvc\Model\ResultSetInterface
3639
*/
3740
public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInterface
@@ -43,6 +46,7 @@ public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInt
4346
* Allows to query the first record that match the specified conditions
4447
*
4548
* @param mixed $parameters
49+
*
4650
* @return TestModel3|\Phalcon\Mvc\Model\ResultInterface|\Phalcon\Mvc\ModelInterface|null
4751
*/
4852
public static function findFirst($parameters = null): ?\Phalcon\Mvc\ModelInterface

tests/_data/console/app/models/files/TestModel5.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class TestModel5 extends \Phalcon\Mvc\Model
2121

2222
/**
2323
* Initialize method for model.
24+
*
25+
* @return void
2426
*/
2527
public function initialize()
2628
{
@@ -31,6 +33,7 @@ public function initialize()
3133
* Allows to query a set of records that match the specified conditions
3234
*
3335
* @param mixed $parameters
36+
*
3437
* @return TestModel5[]|TestModel5|\Phalcon\Mvc\Model\ResultSetInterface
3538
*/
3639
public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInterface
@@ -42,6 +45,7 @@ public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInt
4245
* Allows to query the first record that match the specified conditions
4346
*
4447
* @param mixed $parameters
48+
*
4549
* @return TestModel5|\Phalcon\Mvc\Model\ResultInterface|\Phalcon\Mvc\ModelInterface|null
4650
*/
4751
public static function findFirst($parameters = null): ?\Phalcon\Mvc\ModelInterface

tests/_data/console/app/models/files/Testmodel4.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class Testmodel4 extends \Phalcon\Mvc\Model
2121

2222
/**
2323
* Initialize method for model.
24+
*
25+
* @return void
2426
*/
2527
public function initialize()
2628
{
@@ -32,6 +34,7 @@ public function initialize()
3234
* Allows to query a set of records that match the specified conditions
3335
*
3436
* @param mixed $parameters
37+
*
3538
* @return Testmodel4[]|Testmodel4|\Phalcon\Mvc\Model\ResultSetInterface
3639
*/
3740
public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInterface
@@ -43,6 +46,7 @@ public static function find($parameters = null): \Phalcon\Mvc\Model\ResultsetInt
4346
* Allows to query the first record that match the specified conditions
4447
*
4548
* @param mixed $parameters
49+
*
4650
* @return Testmodel4|\Phalcon\Mvc\Model\ResultInterface|\Phalcon\Mvc\ModelInterface|null
4751
*/
4852
public static function findFirst($parameters = null): ?\Phalcon\Mvc\ModelInterface

0 commit comments

Comments
 (0)