Passed
Push — develop ( 475f16...bf8554 )
by nguereza
03:13
created
src/Http/Exception/HttpBadRequestException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
  * @class HttpBadRequestException
38 38
  * @package Platine\Framework\Http\Exception
39 39
  */
40
-class HttpBadRequestException extends HttpSpecialException
41
-{
40
+class HttpBadRequestException extends HttpSpecialException {
42 41
     /**
43 42
      *
44 43
      * @var int
Please login to merge, or discard this patch.
src/Http/Exception/HttpForbiddenException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
39 39
  * @class HttpForbiddenException
40 40
  * @package Platine\Framework\Http\Exception
41 41
  */
42
-class HttpForbiddenException extends HttpSpecialException
43
-{
42
+class HttpForbiddenException extends HttpSpecialException {
44 43
     /**
45 44
      *
46 45
      * @var int
Please login to merge, or discard this patch.
src/Http/Exception/HttpUnauthorizedException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
  * @class HttpUnauthorizedException
38 38
  * @package Platine\Framework\Http\Exception
39 39
  */
40
-class HttpUnauthorizedException extends HttpSpecialException
41
-{
40
+class HttpUnauthorizedException extends HttpSpecialException {
42 41
     /**
43 42
      *
44 43
      * @var int
Please login to merge, or discard this patch.
src/Http/Exception/HttpNotImplementedException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
  * @class HttpNotImplementedException
38 38
  * @package Platine\Framework\Http\Exception
39 39
  */
40
-class HttpNotImplementedException extends HttpSpecialException
41
-{
40
+class HttpNotImplementedException extends HttpSpecialException {
42 41
     /**
43 42
      *
44 43
      * @var int
Please login to merge, or discard this patch.
src/Http/Exception/HttpInternalServerErrorException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
  * @class HttpInternalServerErrorException
38 38
  * @package Platine\Framework\Http\Exception
39 39
  */
40
-class HttpInternalServerErrorException extends HttpSpecialException
41
-{
40
+class HttpInternalServerErrorException extends HttpSpecialException {
42 41
     /**
43 42
      *
44 43
      * @var int
Please login to merge, or discard this patch.
src/Http/Response/RedirectResponse.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,15 +53,13 @@
 block discarded – undo
53 53
  * @class RedirectResponse
54 54
  * @package Platine\Framework\Http\Response
55 55
  */
56
-class RedirectResponse extends Response
57
-{
56
+class RedirectResponse extends Response {
58 57
 
59 58
     /**
60 59
      * Create new instance
61 60
      * @param string $url
62 61
      */
63
-    public function __construct(string $url = '/')
64
-    {
62
+    public function __construct(string $url = '/') {
65 63
         parent::__construct(302);
66 64
         $this->headers['location'] = [$url];
67 65
     }
Please login to merge, or discard this patch.
src/Http/Response/FileResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 
83 83
         $this->headers['content-description'] = ['File Transfer'];
84 84
         $this->headers['content-type'] = [$mimetype];
85
-        $this->headers['content-disposition'] = ['attachment; filename="' . $filename  . '"'];
85
+        $this->headers['content-disposition'] = ['attachment; filename="' . $filename . '"'];
86 86
         $this->headers['expires'] = ['0'];
87 87
         $this->headers['cache-control'] = ['must-revalidate'];
88 88
         $this->headers['pragma'] = ['public'];
Please login to merge, or discard this patch.