Skip to content
Permalink
Browse files

Add another missing deprecation

  • Loading branch information...
markstory committed May 28, 2018
1 parent e78cb4a commit 25696ad470ef11db4c31f5179039c976b283d221
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/Http/Response.php
@@ -1365,6 +1365,10 @@ public function withCache($since, $time = '+1 day')
*/
public function sharable($public = null, $time = null)
{
deprecationWarning(
'Response::sharable() is deprecated. ' .
'Use withSharable() instead.'
);
if ($public === null) {
$public = array_key_exists('public', $this->_cacheDirectives);
$private = array_key_exists('private', $this->_cacheDirectives);

0 comments on commit 25696ad

Please sign in to comment.
You can’t perform that action at this time.