diff --git a/src/CodeClone.php b/src/CodeClone.php index 1a5ec35b..ab0a0080 100644 --- a/src/CodeClone.php +++ b/src/CodeClone.php @@ -38,7 +38,7 @@ class CodeClone private $id; /** - * @var Lines of the clone + * @var string Lines of the clone */ private $lines = ''; diff --git a/src/Detector/Detector.php b/src/Detector/Detector.php index 2302bd93..c99c5486 100644 --- a/src/Detector/Detector.php +++ b/src/Detector/Detector.php @@ -22,12 +22,12 @@ class Detector { /** - * @var SebastianBergmann\PHPCPD\Detector\Strategy\AbstractStrategy + * @var \SebastianBergmann\PHPCPD\Detector\Strategy\AbstractStrategy */ protected $strategy; /** - * @var Symfony\Component\Console\Helper\ProgressBar + * @var \Symfony\Component\Console\Helper\ProgressBar */ protected $progressBar; @@ -44,11 +44,11 @@ public function __construct(AbstractStrategy $strategy, ProgressBar $progressBar /** * Copy & Paste Detection (CPD). * - * @param Iterator|array $files List of files to process - * @param int $minLines Minimum number of identical lines - * @param int $minTokens Minimum number of identical tokens - * @param bool $fuzzy - * @return CodeCloneMap Map of exact clones found in the list of files + * @param \Iterator|array $files List of files to process + * @param int $minLines Minimum number of identical lines + * @param int $minTokens Minimum number of identical tokens + * @param bool $fuzzy + * @return CodeCloneMap Map of exact clones found in the list of files */ public function copyPasteDetection($files, $minLines = 5, $minTokens = 70, $fuzzy = false) {