Skip to content

Commit aff36ce

Browse files
miladrahimiMilad Rahimi
authored and
Milad Rahimi
committed
some cleaning
1 parent 2aabb3e commit aff36ce

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/MiladRahimi/PhpRouter/Enums/HttpMethods.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class HttpMethods
2121
const TRACE = 'TRACE';
2222

2323
/**
24-
* Standardize the http method
24+
* Standardize the custom http method
2525
*
2626
* @param string $method
2727
* @return string

src/MiladRahimi/PhpRouter/Router.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -725,4 +725,4 @@ public function setPublisher(PublisherInterface $publisher)
725725
{
726726
$this->publisher = $publisher;
727727
}
728-
}
728+
}

src/MiladRahimi/PhpRouter/Services/HeaderExposer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ public function setResponseCode(int $code)
2525
{
2626
http_response_code($code);
2727
}
28-
}
28+
}

src/MiladRahimi/PhpRouter/Services/HeaderExposerInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ public function addHeaderLine(string $name, string $value);
2424
* @param int $code
2525
*/
2626
public function setResponseCode(int $code);
27-
}
27+
}

src/MiladRahimi/PhpRouter/Services/Publisher.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ public function setStream(string $stream)
9191
{
9292
$this->stream = $stream;
9393
}
94-
}
94+
}

src/MiladRahimi/PhpRouter/Services/PublisherInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ interface PublisherInterface
1616
* @param mixed $content
1717
*/
1818
public function publish($content);
19-
}
19+
}

0 commit comments

Comments
 (0)