Skip to content

Commit 0d67d4f

Browse files
authored
Replace yiisoft/yii-web to yiisoft/view in documentation examples (#97)
1 parent 43f905d commit 0d67d4f

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -341,15 +341,15 @@ $config = new Config(
341341
RemoveFromVendor::keys(['a'], ['b'])
342342
->package('yiisoft/auth'),
343343

344-
// Remove elements `c` and `d` from groups `params` and `web` in package `yiisoft/yii-web`
344+
// Remove elements `c` and `d` from groups `params` and `web` in package `yiisoft/view`
345345
RemoveFromVendor::keys(['c'], ['d'])
346-
->package('yiisoft/yii-web', 'params', 'web'),
346+
->package('yiisoft/view', 'params', 'web'),
347347

348-
// Remove elements `e` and `f` from all groups in package `yiisoft/auth` and
349-
// from groups `params` and `web` in package `yiisoft/yii-web`
348+
// Remove elements `e` and `f` from all groups in package `yiisoft/auth`
349+
// and from groups `params` and `web` in package `yiisoft/view`
350350
RemoveFromVendor::keys(['e'], ['f'])
351351
->package('yiisoft/auth')
352-
->package('yiisoft/yii-web', 'params', 'web'),
352+
->package('yiisoft/view', 'params', 'web'),
353353
],
354354
);
355355

@@ -380,8 +380,8 @@ $config = new Config(
380380
// Remove groups `params` from package `yiisoft/http`
381381
'yiisoft/http' => 'params',
382382

383-
// Remove groups `params` and `common` from package `yii-web`
384-
'yiisoft/yii-web' => ['params', 'common'],
383+
// Remove groups `params` and `common` from package `yiisoft/view`
384+
'yiisoft/view' => ['params', 'common'],
385385
]),
386386
],
387387
);

src/Modifier/RemoveFromVendor.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ final class RemoveFromVendor
2323
* RemoveFromVendor::keys(['a'], ['b'])
2424
* ->package('yiisoft/auth'),
2525
*
26-
* // Remove elements `c` and `d` from groups `params` and `web` in package `yiisoft/yii-web`
26+
* // Remove elements `c` and `d` from groups `params` and `web` in package `yiisoft/view`
2727
* RemoveFromVendor::keys(['c'], ['d'])
28-
* ->package('yiisoft/yii-web', 'params', 'web'),
28+
* ->package('yiisoft/view', 'params', 'web'),
2929
*
30-
* // Remove elements `e` and `f` from all groups in package `yiisoft/auth` and
31-
* // from groups `params` and `web` in package `yiisoft/yii-web`
30+
* // Remove elements `e` and `f` from all groups in package `yiisoft/auth`
31+
* // and from groups `params` and `web` in package `yiisoft/view`
3232
* RemoveFromVendor::keys(['e'], ['f'])
3333
* ->package('yiisoft/auth')
34-
* ->package('yiisoft/yii-web', 'params', 'web'),
34+
* ->package('yiisoft/view', 'params', 'web'),
3535
* ```
3636
*
3737
* For example:
@@ -114,8 +114,8 @@ public static function keys(array ...$keys): RemoveKeysFromVendor
114114
* // Remove groups `params` from package `yiisoft/http`
115115
* 'yiisoft/http' => 'params',
116116
*
117-
* // Remove groups `params` and `common` from package `yii-web`
118-
* 'yiisoft/yii-web' => ['params', 'common'],
117+
* // Remove groups `params` and `common` from package `yiisoft/view`
118+
* 'yiisoft/view' => ['params', 'common'],
119119
* ]),
120120
* ```
121121
*

0 commit comments

Comments
 (0)