Commit 97b1de10 by Дмитрий

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 <?=
parent 4a53d0ca
...@@ -40,7 +40,7 @@ use yii\authclient\ClientInterface; ...@@ -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(); ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment