Procházet zdrojové kódy

[docs] fix a type in a code block

gedi před 13 roky
rodič
revize
bcb52d1901
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      doc/translatable.md

+ 1 - 1
doc/translatable.md

@@ -494,6 +494,7 @@ $query->setHint(
     \Doctrine\ORM\Query::HINT_CUSTOM_OUTPUT_WALKER,
     \Doctrine\ORM\Query::HINT_CUSTOM_OUTPUT_WALKER,
     'Gedmo\\Translatable\\Query\\TreeWalker\\TranslationWalker'
     'Gedmo\\Translatable\\Query\\TreeWalker\\TranslationWalker'
 );
 );
+```
 
 
 **NOTE:** if you use memcache or apc. You should set locale and other options like fallbacks
 **NOTE:** if you use memcache or apc. You should set locale and other options like fallbacks
 to query through hints. Otherwise the query will be cached with a first used locale
 to query through hints. Otherwise the query will be cached with a first used locale
@@ -510,7 +511,6 @@ $query->setHint(
     \Gedmo\Translatable\TranslatableListener::HINT_FALLBACK,
     \Gedmo\Translatable\TranslatableListener::HINT_FALLBACK,
     1, // fallback to default values in case if record is not translated
     1, // fallback to default values in case if record is not translated
 );
 );
-```
 
 
 $articles = $query->getResult(); // object hydration
 $articles = $query->getResult(); // object hydration
 ```
 ```