Skip to content

Instantly share code, notes, and snippets.

@rexxars rexxars/gist:5966465
Last active Dec 19, 2015

Embed
What would you like to do?
PHP array code standard
<?php
// Now:
$externalRelatedArticles = $relatedArticlesService->prepare(array('scope' => 'external',
'articleId' => $article->getId(),
'tagId' => $tagId,
'limitByDomain' => 2
));
// Suggested:
$externalRelatedArticles = $relatedArticlesService->prepare(array(
'scope' => 'external',
'tagId' => $tagId,
'articleId' => $article->getId(),
'limitByDomain' => 2
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.