php cs fixer

This commit is contained in:
Julien Chanseaume
2014-05-03 07:12:06 +02:00
parent 02e32d7871
commit 751fcdeb59
3 changed files with 10 additions and 8 deletions

View File

@@ -223,9 +223,6 @@ class Content extends BaseI18nLoop implements PropelSearchLoopInterface
->set("VISIBLE" , $content->getVisible()) ->set("VISIBLE" , $content->getVisible())
; ;
$loopResult->addRow($this->findNextPrev($loopResultRow, $content, $defaultFolderId)); $loopResult->addRow($this->findNextPrev($loopResultRow, $content, $defaultFolderId));
} }
@@ -234,8 +231,8 @@ class Content extends BaseI18nLoop implements PropelSearchLoopInterface
} }
/** /**
* @param LoopResultRow $loopResultRow * @param LoopResultRow $loopResultRow
* @param \Thelia\Model\Content $content * @param \Thelia\Model\Content $content
* @param $defaultFolderId * @param $defaultFolderId
* @return LoopResultRow * @return LoopResultRow
*/ */

View File

@@ -12,7 +12,6 @@
namespace Thelia\Form; namespace Thelia\Form;
use Symfony\Component\Validator\Constraints\NotBlank;
use Thelia\Core\Translation\Translator; use Thelia\Core\Translation\Translator;
/** /**

View File

@@ -25,7 +25,14 @@ use Thelia\Model\LangQuery;
* Controller uses to generate sitemap.xml * Controller uses to generate sitemap.xml
* *
* A default cache of 2 hours is used to avoid attack. You can flush cache if you have `ADMIN` role and pass flush=1 in * A default cache of 2 hours is used to avoid attack. You can flush cache if you have `ADMIN` role and pass flush=1 in
* query parameter. * query string parameter.
*
* You can generate sitemap according to specific language and/or specific context (catalog/content). You have to
* use ```lang``` and ```context``` query string parameters to do so. If a language is not used in website or if the
* context is not supported the page not found is displayed.
*
* {url}/sitemap?lang=fr&context=catalog will generate a sitemap for catalog (categories and products)
* for french language.
* *
* @package Front\Controller * @package Front\Controller
* @author Julien Chanséaume <jchanseaume@openstudio.fr> * @author Julien Chanséaume <jchanseaume@openstudio.fr>
@@ -140,7 +147,6 @@ class SitemapController extends BaseFrontController {
->findOneByCode($lang); ->findOneByCode($lang);
return (null !== $lang); return (null !== $lang);
} }
} }