Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed most of the docblocks/unused namespaces

  • Loading branch information...
commit 11ef179d313afca983b3be2063f082b6a40a2a8c 1 parent 80dd709
Florin Patan dlsniper authored fabpot committed
4 Interval.php
@@ -38,6 +38,10 @@ class Interval
38 38 *
39 39 * @param integer $number A number
40 40 * @param string $interval An interval
  41 + *
  42 + * @return Boolean
  43 + *
  44 + * @throws \InvalidArgumentException
41 45 */
42 46 public static function test($number, $interval)
43 47 {
4 Loader/XliffFileLoader.php
@@ -61,6 +61,8 @@ public function load($resource, $locale, $domain = 'messages')
61 61 * @param string $file
62 62 *
63 63 * @return \SimpleXMLElement
  64 + *
  65 + * @throws InvalidResourceException
64 66 */
65 67 private function parseFile($file)
66 68 {
@@ -115,6 +117,8 @@ private function parseFile($file)
115 117 /**
116 118 * Returns the XML errors of the internal XML parser
117 119 *
  120 + * @param Boolean $internalErrors
  121 + *
118 122 * @return array An array of errors
119 123 */
120 124 private function getXmlErrors($internalErrors)
2  MetadataAwareInterface.php
@@ -11,8 +11,6 @@
11 11
12 12 namespace Symfony\Component\Translation;
13 13
14   -use Symfony\Component\Config\Resource\ResourceInterface;
15   -
16 14 /**
17 15 * MetadataAwareInterface.
18 16 *
2  PluralizationRules.php
@@ -194,6 +194,8 @@ public static function get($number, $locale)
194 194 * @param string $locale The locale
195 195 *
196 196 * @return null
  197 + *
  198 + * @throws \LogicException
197 199 */
198 200 public static function set($rule, $locale)
199 201 {
2  Writer/TranslationWriter.php
@@ -55,6 +55,8 @@ public function getFormats()
55 55 * @param MessageCatalogue $catalogue The message catalogue to dump
56 56 * @param string $format The format to use to dump the messages
57 57 * @param array $options Options that are passed to the dumper
  58 + *
  59 + * @throws \InvalidArgumentException
58 60 */
59 61 public function writeTranslations(MessageCatalogue $catalogue, $format, $options = array())
60 62 {

0 comments on commit 11ef179

Please sign in to comment.
Something went wrong with that request. Please try again.