mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +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>
|
* <ul>
|
||||||
* <?php foreach ($authAuthChoice->getClients() as $client): ?>
|
* <?php foreach ($authAuthChoice->getClients() as $client): ?>
|
||||||
* <li><?= $authAuthChoice->clientLink($client) ?></li>
|
* <li><?php $authAuthChoice->clientLink($client) ?></li>
|
||||||
* <?php endforeach; ?>
|
* <?php endforeach; ?>
|
||||||
* </ul>
|
* </ul>
|
||||||
* <?php AuthChoice::end(); ?>
|
* <?php AuthChoice::end(); ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user