Skip to content

Commit f5a6d26

Browse files
committed
0.0.1
1 parent 74ee91d commit f5a6d26

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ to the require section of your composer.json.
2828
Usage
2929
-----
3030

31-
To use this extension, simply add the following code in your application configuration (console.php):
31+
To use this extension, simply add the following code in your application configuration (console.php):
3232

3333
```php
3434
'controllerMap' => [
@@ -44,4 +44,6 @@ php yii stubs console
4444
4545
# to generate stubs for several apps
4646
php yii stubs console common frontend
47-
```
47+
```
48+
49+
File with stubs by default located in vendor directory.

StubsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class StubsController extends Controller
99
{
10-
public $outputFile = 'Yii.php';
10+
public $outputFile = 'yii2stubs.php';
1111

1212
protected function getTemplate()
1313
{

0 commit comments

Comments
 (0)