Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/CodeClone.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class CodeClone
private $id;

/**
* @var Lines of the clone
* @var string Lines of the clone
*/
private $lines = '';

Expand Down
14 changes: 7 additions & 7 deletions src/Detector/Detector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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)
{
Expand Down