Passed
Push — feature/code_improvement ( 8fdd7e...50ca4e )
by Thierry
02:47
created
src/Utils/Validation/Validator.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *
29 29
      * @param string        $sName            The function name
30 30
      *
31
-     * @return bool            True if the function name is valid, and false if not
31
+     * @return integer            True if the function name is valid, and false if not
32 32
      */
33 33
     public function validateFunction($sName)
34 34
     {
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      *
41 41
      * @param string        $sName            The event name
42 42
      *
43
-     * @return bool            True if the event name is valid, and false if not
43
+     * @return integer            True if the event name is valid, and false if not
44 44
      */
45 45
     public function validateEvent($sName)
46 46
     {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @param string        $sName            The class name
54 54
      *
55
-     * @return bool            True if the class name is valid, and false if not
55
+     * @return integer            True if the class name is valid, and false if not
56 56
      */
57 57
     public function validateClass($sName)
58 58
     {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      *
65 65
      * @param string        $sName            The function name
66 66
      *
67
-     * @return bool            True if the method name is valid, and false if not
67
+     * @return integer            True if the method name is valid, and false if not
68 68
      */
69 69
     public function validateMethod($sName)
70 70
     {
Please login to merge, or discard this patch.
src/Request/Support/CallableRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
      * @param string        $sClassName            The class name of the callable object
223 223
      * @param array         $aOptions              The callable object options
224 224
      *
225
-     * @return object
225
+     * @return null|CallableObject
226 226
      */
227 227
     protected function _getCallableObject($sClassName, array $aOptions)
228 228
     {
Please login to merge, or discard this patch.
src/App/Bootstrap.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      *
73 73
      * @var array       $aLibOptions    The library options
74 74
      *
75
-     * @return Boot
75
+     * @return Bootstrap
76 76
      */
77 77
     public function lib(array $aLibOptions)
78 78
     {
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      *
86 86
      * @var array       $aAppOptions    The application options
87 87
      *
88
-     * @return Boot
88
+     * @return Bootstrap
89 89
      */
90 90
     public function app(array $aAppOptions)
91 91
     {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      *
99 99
      * @var string  $sUri   The ajax endpoint URI
100 100
      *
101
-     * @return Boot
101
+     * @return Bootstrap
102 102
      */
103 103
     public function uri($sUri)
104 104
     {
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      *
112 112
      * @var
113 113
      *
114
-     * @return Boot
114
+     * @return Bootstrap
115 115
      */
116 116
     public function js($bExportJs, $sJsUri = '', $sJsDir = '', $bMinifyJs = false)
117 117
     {
Please login to merge, or discard this patch.
src/Response/UploadResponse.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -41,6 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * Set the path to the uploaded file
44
+     * @param string $sUploadedFile
44 45
      */
45 46
     public function setUploadedFile($sUploadedFile)
46 47
     {
@@ -49,6 +50,7 @@  discard block
 block discarded – undo
49 50
 
50 51
     /**
51 52
      * Set the error message
53
+     * @param string $sErrorMessage
52 54
      */
53 55
     public function setErrorMessage($sErrorMessage)
54 56
     {
Please login to merge, or discard this patch.
src/Features/App.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     /**
18 18
      * Get the Jaxon response.
19 19
      *
20
-     * @return Response
20
+     * @return \Jaxon\Response\Response
21 21
      */
22 22
     public function ajaxResponse()
23 23
     {
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
     /**
118 118
      * Get the view renderer
119 119
      *
120
-     * @return Jaxon\Utils\View\Renderer
120
+     * @return \Jaxon\Utils\View\Renderer
121 121
      */
122 122
     public function view()
123 123
     {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     /**
128 128
      * Get the session manager
129 129
      *
130
-     * @return Jaxon\Contracts\Session
130
+     * @return \Jaxon\Contracts\Session
131 131
      */
132 132
     public function session()
133 133
     {
Please login to merge, or discard this patch.
src/Features/Config.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@
 block discarded – undo
241 241
     /**
242 242
      * Create a new the config manager
243 243
      *
244
-     * @return Jaxon\Utils\Config\Config            The config manager
244
+     * @return \Jaxon\Utils\Config\Config            The config manager
245 245
      */
246 246
     public function newConfig()
247 247
     {
Please login to merge, or discard this patch.
src/Features/Manager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * Get the plugin manager
21 21
      *
22
-     * @return Jaxon\Plugin\Manager
22
+     * @return \Jaxon\Plugin\Manager
23 23
      */
24 24
     public function getPluginManager()
25 25
     {
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * Get the response manager
31 31
      *
32
-     * @return Jaxon\Response\Manager
32
+     * @return \Jaxon\Response\Manager
33 33
      */
34 34
     public function getResponseManager()
35 35
     {
Please login to merge, or discard this patch.
src/Features/Validator.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *
29 29
      * @param string        $sName            The function name
30 30
      *
31
-     * @return bool            True if the function name is valid, and false if not
31
+     * @return integer            True if the function name is valid, and false if not
32 32
      */
33 33
     public function validateFunction($sName)
34 34
     {
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      *
41 41
      * @param string        $sName            The event name
42 42
      *
43
-     * @return bool            True if the event name is valid, and false if not
43
+     * @return integer            True if the event name is valid, and false if not
44 44
      */
45 45
     public function validateEvent($sName)
46 46
     {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @param string        $sName            The class name
54 54
      *
55
-     * @return bool            True if the class name is valid, and false if not
55
+     * @return integer            True if the class name is valid, and false if not
56 56
      */
57 57
     public function validateClass($sName)
58 58
     {
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      *
65 65
      * @param string        $sName            The function name
66 66
      *
67
-     * @return bool            True if the method name is valid, and false if not
67
+     * @return integer            True if the method name is valid, and false if not
68 68
      */
69 69
     public function validateMethod($sName)
70 70
     {
Please login to merge, or discard this patch.
src/Plugin/Request.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
      * @param string        $sCallable      The callable entity being registered
42 42
      * @param array|string  $aOptions       The associated options
43 43
      *
44
-     * @return mixed
44
+     * @return boolean
45 45
      */
46 46
     public function register($sType, $sCallable, $aOptions)
47 47
     {
Please login to merge, or discard this patch.