Shift with red gradient lettering

Remove DocBlocks

PHP

Removes all PHP DocBlocks including file, class, and method summaries, as well as property and variable assignments from your code.

Before

/**
* This returns the sum of two integers.
*
* @param int $a
* @param int $b
* @return int
*/
public function add($a, $b)
{
/** @var int */
$sum = $a + $b;
 
return $sum;
}

After

public function add($a, $b)
{
$sum = $a + $b;
 
return $sum;
}

← Back to the Workbench Tasks

Sign in with any of the following services to connect Shift with your Laravel project.


Don't use one of these services?

Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.