<commit_before><?php

namespace Blage\BlogBundle\Repository;

use Doctrine\ORM\EntityRepository;
use Blage\BlogBundle\Entity\Category;

/**
 * Description of ArticleRepository
 *
 * @author srohweder
 */
class ArticleRepository extends EntityRepository
{
    public function findLatest($limit = 5)
    {
        return $this->createQueryBuilder('a')
                ->where('a.online = :online')
                ->orderBy('a.createdAt', 'DESC')<commit_msg>added published at order by to latest entries<commit_after><?php

namespace Blage\BlogBundle\Repository;

use Doctrine\ORM\EntityRepository;
use Blage\BlogBundle\Entity\Category;

/**
 * Description of ArticleRepository
 *
 * @author srohweder
 */
class ArticleRepository extends EntityRepository
{
    public function findLatest($limit = 5)
    {
        return $this->createQueryBuilder('a')
                ->where('a.online = :online')
                ->orderBy('a.publishedAt', 'DESC')
{'fraction_non_alphanumeric': 0.11839323467230443, 'fraction_numerical': 0.0021141649048625794, 'mean_word_length': 3.425233644859813, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4735648', 'n_tokens_mistral': 270, 'n_tokens_neox': 263, 'n_words': 58}