Completed
Push — scrutinizer ( c2ef4a...84e9d0 )
by Fabio
22:07
created
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.
demos/time-tracker/protected/App_Code/TrackerAuthManager.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -48,6 +48,7 @@
 block discarded – undo
48 48
 	/**
49 49
 	 * Changes the user credentials.
50 50
 	 * @param TUser new user details.
51
+	 * @param TimeTrackerUser $user
51 52
 	 */
52 53
 	public function updateCredential($user)
53 54
 	{
Please login to merge, or discard this patch.
demos/time-tracker/protected/pages/TimeTracker/ProjectDetails.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -84,6 +84,9 @@
 block discarded – undo
84 84
 		$this->members->SelectedValues = $members;
85 85
 	}
86 86
 	
87
+	/**
88
+	 * @param string $role
89
+	 */
87 90
 	protected function getUsersWithRole($role)
88 91
 	{
89 92
 		if(is_null($this->allUsers))
Please login to merge, or discard this patch.