Skip to content

Commit

Permalink
Fix typos and replace fabriceb by its' full name (you're welcome Fabr…
Browse files Browse the repository at this point in the history
…ice :))
  • Loading branch information
benja-M-1 committed Nov 26, 2011
1 parent 5b4ac56 commit 7248293
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Controller/Backend/UserController.php
Expand Up @@ -25,7 +25,7 @@ class UserController extends Controller
/**
* @return EntityManager
*
* @author fabricbe
* @author Fabrice Bernhard <fabriceb@theodo.fr>
* @since 2011-07-08
*/
public function getEntityManager()
Expand All @@ -38,7 +38,7 @@ public function getEntityManager()
/**
*
* @return UserRepository
* @author fabricbe
* @author Fabrice Bernhard <fabriceb@theodo.fr>
* @since 2011-07-08
*/
public function getUserRepository()
Expand Down
12 changes: 6 additions & 6 deletions Entity/Page.php
Expand Up @@ -473,7 +473,7 @@ public function setLifetime($lifetime)
/**
* Get lifetime
*
* @return integer
* @return integer
*/
public function getLifetime()
{
Expand All @@ -499,7 +499,7 @@ public function setPublic($public)
/**
* Get public
*
* @return boolean
* @return boolean
*/
public function getPublic()
{
Expand All @@ -519,9 +519,9 @@ public function getContentSubtype()

return $subtypes[$this->content_type];
}

/**
* @author fabriceb
* @author Fabrice Bernhard <fabriceb@theodo.fr>
* @since 2011-08-19
*/
public function isHomepage()
Expand Down Expand Up @@ -553,7 +553,7 @@ public function setTitle($title)
/**
* Get title
*
* @return string
* @return string
*/
public function getTitle()
{
Expand All @@ -573,7 +573,7 @@ public function setKeywords($keywords)
/**
* Get keywords
*
* @return text
* @return text
*/
public function getKeywords()
{
Expand Down
10 changes: 5 additions & 5 deletions Extensions/Twig/TwigCacheDatabase.php
Expand Up @@ -25,7 +25,7 @@ class TwigCacheDatabase
/**
*
* @param Twig_Environment $twig_environment
* @author fabriceb
* @author Fabrice Bernhard <fabriceb@theodo.fr>
* @since 2001-06-24
*/
public function __construct(Twig_Environment $twig_environment)
Expand All @@ -36,7 +36,7 @@ public function __construct(Twig_Environment $twig_environment)
/**
*
* @return Twig_Environment
* @author fabriceb
* @author Fabrice Bernhard <fabriceb@theodo.fr>
* @since 2001-06-24
*/
public function getTwigEnvironment()
Expand All @@ -47,7 +47,7 @@ public function getTwigEnvironment()
/**
*
* @param Twig_Environment $twig_environment
* @author fabriceb
* @author Fabrice Bernhard <fabriceb@theodo.fr>
* @since 2001-06-24
*/
public function setTwigEnvironment(Twig_Environment $twig_environment)
Expand All @@ -58,7 +58,7 @@ public function setTwigEnvironment(Twig_Environment $twig_environment)
/**
*
* @param string $name
* @author fabriceb
* @author Fabrice Bernhard <fabriceb@theodo.fr>
* @since 2001-06-24
*/
public function invalidate($name)
Expand All @@ -69,7 +69,7 @@ public function invalidate($name)
/**
*
* @param string $name
* @author fabriceb
* @author Fabrice Bernhard <fabriceb@theodo.fr>
* @since 2001-06-24
*/
public function warmup($name/*, $ext*/)
Expand Down
6 changes: 3 additions & 3 deletions Extensions/Twig/TwigLoaderRepository.php
Expand Up @@ -40,7 +40,7 @@ class TwigLoaderRepository implements Twig_LoaderInterface
*
* @param ContentRepositoryInterface $content_repository
* @param Twig_LoaderInterface $fallback_loader
* @author fabriceb
* @author Fabrice Bernhard <fabriceb@theodo.fr>
* @since 2001-06-22
*/
public function __construct(ContentRepositoryInterface $content_repository, Twig_LoaderInterface $fallback_loader = null, $fallback_path = null)
Expand All @@ -63,7 +63,7 @@ public function __construct(ContentRepositoryInterface $content_repository, Twig
/**
*
* @return EntityManager
* @author fabriceb
* @author Fabrice Bernhard <fabriceb@theodo.fr>
* @since 2001-06-22
*/
public function getContentRepository()
Expand All @@ -74,7 +74,7 @@ public function getContentRepository()
/**
*
* @param ContentRepositoryInterface $content_repository
* @author fabriceb
* @author Fabrice Bernhard <fabriceb@theodo.fr>
* @since 2001-06-22
*/
public function setContentRepository(ContentRepositoryInterface $content_repository)
Expand Down
4 changes: 2 additions & 2 deletions Repository/ContentEntityRepository.php
Expand Up @@ -206,12 +206,12 @@ public function findAll($type = 'page')
* @param string $type
* @return EntityRepository
*
* @author fabriceb
* @author Fabrice Bernhard <fabriceb@theodo.fr>
* @since 2011-07-07
*/
public function getRepository($type)
{
return $this->getEntityManager()
->getRepository('TheodoRogerCmsBundle:' . ucfirst($type));
}
}
}
Expand Up @@ -21,7 +21,7 @@
use Theodo\RogerCmsBundle\Tests\Test as TestCase;
use Theodo\RogerCmsBundle\Extensions\Twig\TwigLoaderRepository;

class Twig_Loader_RepositoryTest extends TestCase
class TwigLoaderRepositoryTest extends TestCase
{
/**
* @var Theodo\RogerCmsBundle\Extensions\Twig\TwigLoaderRepository
Expand Down

0 comments on commit 7248293

Please sign in to comment.