Skip to content

Commit cd49f21

Browse files
committed
Merge pull request #18 from adbre/phpdoc
Add phpdoc type info to public variables
2 parents d08b3e5 + af51be8 commit cd49f21

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/There4/Slim/Test/WebTestCase.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66

77
class WebTestCase extends \PHPUnit_Framework_TestCase
88
{
9+
/** @var \Slim\Slim */
910
protected $app;
11+
12+
/** @var WebTestClient */
1013
protected $client;
1114

1215
// Run for each unit test to setup our slim app environment

src/There4/Slim/Test/WebTestClient.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@
66

77
class WebTestClient
88
{
9+
/** @var \Slim\Slim */
910
public $app;
11+
12+
/** @var \Slim\Http\Request */
1013
public $request;
14+
15+
/** @var \Slim\Http\Response */
1116
public $response;
1217

1318
public function __construct(Slim\Slim $slim)

0 commit comments

Comments
 (0)