Completed
Push — scrutinizer ( c2ef4a )
by Fabio
21:50
created
demos/quickstart/protected/index/Zend/Search/Lucene/Search/QueryToken.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      * IndexReader constructor needs token type and token text as a parameters.
75 75
      *
76 76
      * @param $tokType integer
77
-     * @param $tokText string
77
+     * @param string $tokText string
78 78
      */
79 79
     public function __construct($tokType, $tokText)
80 80
     {
Please login to merge, or discard this patch.
quickstart/protected/index/Zend/Search/Lucene/Search/QueryTokenizer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
     /**
144 144
      * Returns next token
145 145
      *
146
-     * @return Zend_Search_Lucene_Search_QueryToken
146
+     * @return integer
147 147
      */
148 148
     public function next()
149 149
     {
Please login to merge, or discard this patch.
demos/quickstart/protected/index/Zend/Search/Lucene/Search/Similarity.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -407,8 +407,8 @@  discard block
 block discarded – undo
407 407
     /**
408 408
      * Float to byte conversion
409 409
      *
410
-     * @param integer $b
411
-     * @return float
410
+     * @param double $f
411
+     * @return integer
412 412
      */
413 413
     static private function _floatToByte($f)
414 414
     {
@@ -494,7 +494,7 @@  discard block
 block discarded – undo
494 494
      *
495 495
      * @param mixed $input
496 496
      * @param Zend_Search_Lucene $reader
497
-     * @return a score factor for the term
497
+     * @return double score factor for the term
498 498
      */
499 499
     public function idf($input, $reader)
500 500
     {
Please login to merge, or discard this patch.
demos/quickstart/protected/index/Zend/Search/Lucene/Search/Weight.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Assigns the query normalization factor to this.
54 54
      *
55
-     * @param $norm
55
+     * @param double $norm
56 56
      */
57 57
     abstract public function normalize($norm);
58 58
 }
Please login to merge, or discard this patch.
protected/index/Zend/Search/Lucene/Storage/Directory/Filesystem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@
 block discarded – undo
241 241
      * Sets the modified time of $filename to now.
242 242
      *
243 243
      * @param string $filename
244
-     * @return void
244
+     * @return boolean
245 245
      */
246 246
     public function touchFile($filename)
247 247
     {
Please login to merge, or discard this patch.
demos/quickstart/protected/pages/Search.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
 		return $prefix.implode(' ', $subtext).$suffix;
43 43
 	}
44 44
 
45
+	/**
46
+	 * @param string $word
47
+	 */
45 48
 	protected function containsKeys($word, $keys)
46 49
 	{
47 50
 		foreach($keys as $key)
Please login to merge, or discard this patch.
demos/quickstart/protected/pages/ViewSource.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -69,11 +69,17 @@  discard block
 block discarded – undo
69 69
 		return $list;
70 70
 	}
71 71
 
72
+	/**
73
+	 * @param string $extension
74
+	 */
72 75
 	protected function isFileTypeAllowed($extension)
73 76
 	{
74 77
 		return in_array($extension,array('tpl','page','php','html'));
75 78
 	}
76 79
 
80
+	/**
81
+	 * @param string $fileName
82
+	 */
77 83
 	protected function getFileExtension($fileName)
78 84
 	{
79 85
 		if(($pos=strrpos($fileName,'.'))===false)
@@ -82,6 +88,9 @@  discard block
 block discarded – undo
82 88
 			return substr($fileName,$pos+1);
83 89
 	}
84 90
 
91
+	/**
92
+	 * @param string $extension
93
+	 */
85 94
 	protected function getFileType($extension)
86 95
 	{
87 96
 		if($extension==='tpl' || $extension==='page')
@@ -90,6 +99,9 @@  discard block
 block discarded – undo
90 99
 			return 'Class file';
91 100
 	}
92 101
 
102
+	/**
103
+	 * @param string $extension
104
+	 */
93 105
 	protected function getFileLanguage($extension)
94 106
 	{
95 107
 		switch($extension)
Please login to merge, or discard this patch.
demos/sqlmap/protected/pages/Sample/crud2.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@
 block discarded – undo
63 63
 		$this->loadData();
64 64
 	}
65 65
 
66
+	/**
67
+	 * @param integer $index
68
+	 */
66 69
 	private function getText($param, $index)
67 70
 	{
68 71
 		$item = $param->Item;
Please login to merge, or discard this patch.
demos/time-tracker/protected/App_Code/Dao/UserDao.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 	}
43 43
 
44 44
 	/**
45
-	 * @return array list of all enabled users.
45
+	 * @return TList list of all enabled users.
46 46
 	 */
47 47
 	public function getAllUsers()
48 48
 	{
Please login to merge, or discard this patch.