for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Kartenmacherei\RestFramework\Response;
class NoContentResponse implements Response
{
public function flush()
http_response_code($this->getResponseCode());
}
/**
* @return int
*/
protected function getResponseCode(): int
return 204;