mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 13:02:24 +08:00
Error in documentation
Method clientLink no returns data. In the example of the use of manual output clients in the loop you need to use <?php instead of <?=
This commit is contained in:
@ -40,7 +40,7 @@ use yii\authclient\ClientInterface;
|
||||
* ]); ?>
|
||||
* <ul>
|
||||
* <?php foreach ($authAuthChoice->getClients() as $client): ?>
|
||||
* <li><?= $authAuthChoice->clientLink($client) ?></li>
|
||||
* <li><?php $authAuthChoice->clientLink($client) ?></li>
|
||||
* <?php endforeach; ?>
|
||||
* </ul>
|
||||
* <?php AuthChoice::end(); ?>
|
||||
|
||||
Reference in New Issue
Block a user