Completed
Pull Request — master (#2)
by Karsten
01:49
created
src/LanguageDetector/NullLanguageDetector.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 	/**
14 14
 	 * @since 0.1
15 15
 	 *
16
-	 * @param string $word
17 16
 	 *
18 17
 	 * @return null
19 18
 	 */
Please login to merge, or discard this patch.
src/LanguageDetector/TextCatLanguageDetector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 	/**
41 41
 	 * @since 0.1
42 42
 	 *
43
-	 * @param array $languageCandidates
43
+	 * @param string[] $languageCandidates
44 44
 	 */
45 45
 	public function setLanguageCandidates( array $languageCandidates ) {
46 46
 		$this->languageCandidates = $languageCandidates;
Please login to merge, or discard this patch.
src/Sanitizer.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,6 @@
 block discarded – undo
89 89
 	 *
90 90
 	 * @since 0.1
91 91
 	 *
92
-	 * @param integer $flag
93 92
 	 */
94 93
 	public function convertDoubleWidth() {
95 94
 		$this->string = Normalizer::convertDoubleWidth( $this->string );
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Onoi\Tesa\Tokenizer\Tokenizer;
6 6
 use Onoi\Tesa\Synonymizer\Synonymizer;
7 7
 use Onoi\Tesa\StopwordAnalyzer\StopwordAnalyzer;
8
-use RuntimeException;
9 8
 
10 9
 /**
11 10
  * @license GNU GPL v2+
Please login to merge, or discard this patch.
src/StopwordAnalyzer/CdbStopwordAnalyzer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,6 @@
 block discarded – undo
52 52
 	/**
53 53
 	 * @since 0.1
54 54
 	 *
55
-	 * @param string $language
56 55
 	 *
57 56
 	 * @return string
58 57
 	 */
Please login to merge, or discard this patch.
src/Tokenizer/IcuWordBoundaryTokenizer.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -60,6 +60,7 @@  discard block
 block discarded – undo
60 60
 	 * @since 0.1
61 61
 	 *
62 62
 	 * {@inheritDoc}
63
+	 * @param boolean $usesWordBoundaries
63 64
 	 */
64 65
 	public function setWordTokenizerAttribute( $usesWordBoundaries ) {
65 66
 		return $this->isWordTokenizer = $usesWordBoundaries;
@@ -103,6 +104,9 @@  discard block
 block discarded – undo
103 104
 		return $this->createTokens( $string );
104 105
 	}
105 106
 
107
+	/**
108
+	 * @param string $string
109
+	 */
106 110
 	private function createTokens( $string ) {
107 111
 
108 112
 		$tokens = array();
Please login to merge, or discard this patch.
src/Tokenizer/JaTinySegmenterTokenizer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -111,6 +111,9 @@
 block discarded – undo
111 111
 		return $this;
112 112
 	}
113 113
 
114
+	/**
115
+	 * @param string $input
116
+	 */
114 117
 	protected function segment( $input, $encoding = null ) {
115 118
 
116 119
 		if ( !$input ) {
Please login to merge, or discard this patch.
tests/phpunit/Integration/CombinedNGramTokenizerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Onoi\Tesa\Tests\Integration;
4 4
 
5 5
 use Onoi\Tesa\SanitizerFactory;
6
-use Onoi\Tesa\Tokenizer\NGramTokenizer;
7 6
 
8 7
 /**
9 8
  * @group onoi-tesa
Please login to merge, or discard this patch.