Completed
Push — develop ( 7d17ce...a491eb )
by greg
11:44
created
src/Service/Recaptcha.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * This method calls Google ReCaptcha.
31
-     * @param  unknown_type $url
32
-     * @return unknown
31
+     * @return boolean
33 32
      */
34 33
     public function recaptcha($response, $ipClient = null)
35 34
     {
Please login to merge, or discard this patch.
src/Service/Website.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * setWebsiteMapper
50 50
      * @param  Mapper/Website $websiteMapper
51 51
      *
52
-     * @return PlaygroundCore\Entity\WebsiteMapper websiteMapper
52
+     * @return Website websiteMapper
53 53
      */
54 54
     public function setWebsiteMapper($websiteMapper)
55 55
     {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      * setOptions
63 63
      * @param  ModuleOptions $options
64 64
      *
65
-     * @return PlaygroundCore\Service\Website $this
65
+     * @return Website $this
66 66
      */
67 67
     public function setOptions(ModuleOptions $options)
68 68
     {
Please login to merge, or discard this patch.
src/Validator/Blacklist.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,6 @@
 block discarded – undo
41 41
     /**
42 42
      * Sets the path to the blacklist file
43 43
      *
44
-     * @param  string $path to the blacklist file
45 44
      * @return Blacklist Provides a fluent interface
46 45
      * @throws Exception\InvalidArgumentException When file is not found
47 46
      */
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     const FORBIDDEN = 'FORBIDDEN';
11 11
 
12 12
     protected $options = array(
13
-        'file' => null,  // File containing the blacklist file
13
+        'file' => null, // File containing the blacklist file
14 14
     );
15 15
  
16 16
     protected $messageTemplates = array(
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
20 20
     public function __construct($options = null)
21 21
     {
22 22
         if (is_string($options)) {
23
-            $this->options = array('file' => str_replace('\\', '/', getcwd()) . '/' . ltrim($options, '/'));
23
+            $this->options = array('file' => str_replace('\\', '/', getcwd()).'/'.ltrim($options, '/'));
24 24
         } elseif (is_array($options)) {
25
-            $this->options = array('file' => str_replace('\\', '/', getcwd()) . $options[0]);
25
+            $this->options = array('file' => str_replace('\\', '/', getcwd()).$options[0]);
26 26
         }
27 27
 
28 28
         parent::__construct($options);
Please login to merge, or discard this patch.
src/Validator/MailDomain.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,6 @@
 block discarded – undo
41 41
     /**
42 42
      * Sets the path to the file
43 43
      *
44
-     * @param  string $path to the file
45 44
      * @return MailDomain Provides a fluent interface
46 45
      * @throws Exception\InvalidArgumentException When file is not found
47 46
      */
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     const FORBIDDEN = 'FORBIDDEN';
11 11
 
12 12
     protected $options = array(
13
-        'file' => null,  // File containing the authorized domains
13
+        'file' => null, // File containing the authorized domains
14 14
     );
15 15
  
16 16
     protected $messageTemplates = array(
@@ -20,9 +20,9 @@  discard block
 block discarded – undo
20 20
     public function __construct($options = null)
21 21
     {
22 22
         if (is_string($options)) {
23
-            $this->options = array('file' => str_replace('\\', '/', getcwd()) . '/' . ltrim($options, '/'));
23
+            $this->options = array('file' => str_replace('\\', '/', getcwd()).'/'.ltrim($options, '/'));
24 24
         } elseif (is_array($options)) {
25
-            $this->options = array('file' => str_replace('\\', '/', getcwd()) . '/' . ltrim(reset($options), '/'));
25
+            $this->options = array('file' => str_replace('\\', '/', getcwd()).'/'.ltrim(reset($options), '/'));
26 26
         }
27 27
 
28 28
         parent::__construct($this->options);
Please login to merge, or discard this patch.
src/View/Helper/TwitterCard.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,6 @@
 block discarded – undo
36 36
     protected $request;
37 37
     
38 38
     /**
39
-     * @param \Zend\View\Helper\HeadMeta $metaData
40 39
      * @return \Zend\View\Helper\HeadMeta
41 40
      */
42 41
     public function __invoke()
Please login to merge, or discard this patch.
src/View/Helper/AdCKEditor.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
          * General module configurations
48 48
          */
49 49
         if (isset($this->Config['BasePath'])) {
50
-            $CKEditor->basePath            = $this->Config['BasePath'].'/';
50
+            $CKEditor->basePath = $this->Config['BasePath'].'/';
51 51
         }
52 52
         if (isset($this->Config['Toolbar'])) {
53 53
             $CKEditor->config['toolbar']    = $this->Config['Toolbar'];
@@ -68,10 +68,10 @@  discard block
 block discarded – undo
68 68
             $CKEditor->config['stylesSet']  = $this->Config['stylesSet'];
69 69
         }
70 70
         if (isset($this->Config['contentsCss'])) {
71
-            $CKEditor->config['contentsCss']= $this->Config['contentsCss'];
71
+            $CKEditor->config['contentsCss'] = $this->Config['contentsCss'];
72 72
         }
73 73
         if (isset($this->Config['templates_files'])) {
74
-            $CKEditor->config['templates_files']  = $this->Config['templates_files'];
74
+            $CKEditor->config['templates_files'] = $this->Config['templates_files'];
75 75
         }
76 76
 
77 77
         // El Finder
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
             $CKEditor->config['contentsCss'] = $options['contentsCss'];
117 117
         }
118 118
         if (isset($options['templates_files'])) {
119
-            $CKEditor->config['templates_files']  = $options['templates_files'];
119
+            $CKEditor->config['templates_files'] = $options['templates_files'];
120 120
         }
121 121
 
122 122
         // El Finder
Please login to merge, or discard this patch.
src/View/Helper/SwitchLocaleWidget.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -50,11 +50,11 @@  discard block
 block discarded – undo
50 50
         return $locales;
51 51
     }
52 52
 
53
-     /**
54
-    * getLocaleService : Recuperer le service des locales
55
-    *
56
-    * @return Service/Locale $localeService
57
-    */
53
+        /**
54
+         * getLocaleService : Recuperer le service des locales
55
+         *
56
+         * @return Service/Locale $localeService
57
+         */
58 58
     public function getLocaleService()
59 59
     {
60 60
         if ($this->localeService === null) {
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-    * setLocaleService : set le service locale
68
-    */
67
+     * setLocaleService : set le service locale
68
+     */
69 69
     public function setLocaleService($localeService)
70 70
     {
71 71
         $this->localeService = $localeService;
Please login to merge, or discard this patch.
src/TwitterCard/Tag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     public function __construct($property, $value = null)
10 10
     {
11 11
         $this->property = $property;
12
-        $this->value   = $value;
12
+        $this->value = $value;
13 13
     }
14 14
 
15 15
     public function getProperty()
Please login to merge, or discard this patch.
src/TwitterCard/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,10 +34,10 @@
 block discarded – undo
34 34
     public function __construct($config)
35 35
     {
36 36
         if (isset($config['enable'])) {
37
-            $this->enable = (bool)$config['enable'];
37
+            $this->enable = (bool) $config['enable'];
38 38
         }
39 39
         if (isset($config['useDefault'])) {
40
-            $this->useDefault = (bool)$config['useDefault'];
40
+            $this->useDefault = (bool) $config['useDefault'];
41 41
         }
42 42
         if (isset($config['default'])) {
43 43
             foreach ($config['default'] as $key => $value) {
Please login to merge, or discard this patch.