Passed
Push — feature/code_improvement ( 7e1ceb...8fdd7e )
by Thierry
11:18
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/App.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
     /**
60 60
      * Process an incoming Jaxon request, and return the response.
61 61
      *
62
-     * @return void
62
+     * @return boolean|null
63 63
      */
64 64
     public function processRequest()
65 65
     {
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/Jaxon.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
      *
365 365
      * This function may exit after the request is processed, if the 'core.process.exit' option is set to true.
366 366
      *
367
-     * @return void
367
+     * @return boolean|null
368 368
      *
369 369
      * @see <Jaxon\Jaxon->canProcessRequest>
370 370
      */
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
     /**
439 439
      * Get the view renderer
440 440
      *
441
-     * @return Jaxon\Utils\View\Renderer
441
+     * @return Utils\View\Renderer
442 442
      */
443 443
     public function view()
444 444
     {
@@ -448,7 +448,7 @@  discard block
 block discarded – undo
448 448
     /**
449 449
      * Get the session manager
450 450
      *
451
-     * @return Jaxon\Contracts\Session
451
+     * @return Contracts\Session
452 452
      */
453 453
     public function session()
454 454
     {
Please login to merge, or discard this patch.
src/Request/Handler/Handler.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,6 +140,7 @@  discard block
 block discarded – undo
140 140
      * This is the pre-request processing callback passed to the Jaxon library.
141 141
      *
142 142
      * @param  boolean  &$bEndRequest if set to true, the request processing is interrupted.
143
+     * @param boolean $bEndRequest
143 144
      *
144 145
      * @return Jaxon\Response\Response  the Jaxon response
145 146
      */
@@ -170,6 +171,7 @@  discard block
 block discarded – undo
170 171
     /**
171 172
      * This callback is called whenever an invalid request is processed.
172 173
      *
174
+     * @param string $sMessage
173 175
      * @return Jaxon\Response\Response  the Jaxon response
174 176
      */
175 177
     public function onInvalid($sMessage)
@@ -236,7 +238,7 @@  discard block
 block discarded – undo
236 238
      * Calls each of the request plugins to request that they process the current request.
237 239
      * If any plugin processes the request, it will return true.
238 240
      *
239
-     * @return boolean
241
+     * @return boolean|null
240 242
      */
241 243
     public function processRequest()
242 244
     {
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.