Completed
Push — master ( 78269a...85fe60 )
by Florian
02:23
created
StingerSoftEntitySearchBundle.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
  */
18 18
 class StingerSoftEntitySearchBundle extends Bundle {
19 19
 
20
+	/**
21
+	 * @param string $env
22
+	 */
20 23
 	public static function getRequiredBundles($env) {
21 24
 		$bundles = array();
22 25
 		$bundles['StingerSoftEntitySearchBundle'] = '\StingerSoft\EntitySearchBundle\StingerSoftEntitySearchBundle';
Please login to merge, or discard this patch.
Model/Query.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
 	 *
105 105
 	 * @param string $name
106 106
 	 *        	Name of the property to set
107
-	 * @param mixed $value
107
+	 * @param string[] $value
108 108
 	 *        	The value of the property
109 109
 	 */
110 110
 	public function __set($name, $value) {
Please login to merge, or discard this patch.
Form/QueryType.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
 	/**
102 102
 	 *
103
-	 * @param FormBuilderInterface|Form $builder        	
103
+	 * @param FormInterface $builder        	
104 104
 	 * @param FacetSet $facets        	
105 105
 	 */
106 106
 	protected function createFacets($builder, FacetSet $facets, array $options, $data) {
@@ -143,6 +143,9 @@  discard block
 block discarded – undo
143 143
 		return $choices;
144 144
 	}
145 145
 	
146
+	/**
147
+	 * @param string $facetType
148
+	 */
146 149
 	protected function formatFacet($formatter, $facetType, $facet, $count) {
147 150
 		$default = $facet . ' (' . $count . ')';
148 151
 		if(!$formatter) {
Please login to merge, or discard this patch.
Tests/Services/DoctrineListenerTest.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@  discard block
 block discarded – undo
25 25
 
26 26
 	/**
27 27
 	 *
28
-	 * @param number $save
28
+	 * @param integer $save
29 29
 	 *        	Number of expected saves
30
-	 * @param number $delete
30
+	 * @param integer $delete
31 31
 	 *        	Number of expected deletions
32 32
 	 */
33 33
 	protected function registerDoctrineListener($save = 0, $delete = 0) {
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
 
51 51
 	/**
52 52
 	 *
53
-	 * @param number $save
53
+	 * @param integer $save
54 54
 	 *        	Number of expected saves
55
-	 * @param number $delete
55
+	 * @param integer $delete
56 56
 	 *        	Number of expected deletions
57 57
 	 */
58 58
 	protected function registerSearchService($save = 0, $delete = 0) {
Please login to merge, or discard this patch.
Services/Mapping/DocumentToEntityMapperInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 	/**
24 24
 	 * Tries to create a document from the given object
25 25
 	 *
26
-	 * @param object $object        	
27 26
 	 * @return boolean|Document Returns false if no document could be created
28 27
 	 */
29 28
 	public function getEntity(Document $document);
Please login to merge, or discard this patch.
Services/Mapping/EntityToDocumentMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
 	/**
138 138
 	 * Fetches the mapping for the given object including the mapping of superclasses
139 139
 	 *
140
-	 * @param object $object        	
140
+	 * @param string $clazz
141 141
 	 * @return \StingerSoft\EntitySearchBundle\Services\string[string]
142 142
 	 */
143 143
 	protected function getMapping($clazz) {
Please login to merge, or discard this patch.
Model/Document.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,6 +85,7 @@  discard block
 block discarded – undo
85 85
 	 *        	The name of the field
86 86
 	 * @param mixed $value
87 87
 	 *        	The value of this field
88
+	 * @return void
88 89
 	 */
89 90
 	public function addField($fieldname, $value);
90 91
 
@@ -113,6 +114,7 @@  discard block
 block discarded – undo
113 114
 	 *        	The name of the field
114 115
 	 * @param mixed $value
115 116
 	 *        	The additional value of this field
117
+	 * @return void
116 118
 	 */
117 119
 	public function addMultiValueField($field, $value);
118 120
 
@@ -124,6 +126,7 @@  discard block
 block discarded – undo
124 126
 	 *
125 127
 	 * @param string $clazz
126 128
 	 *        	The classname
129
+	 * @return void
127 130
 	 */
128 131
 	public function setEntityClass($clazz);
129 132
 
@@ -143,6 +146,7 @@  discard block
 block discarded – undo
143 146
 	 *
144 147
 	 * @param mixed $id
145 148
 	 *        	The ID of the corresponding entity
149
+	 * @return void
146 150
 	 */
147 151
 	public function setEntityId($id);
148 152
 
@@ -159,6 +163,7 @@  discard block
 block discarded – undo
159 163
 	 * hiding some programatically needed complexity from the user
160 164
 	 *
161 165
 	 * @param string $type        	
166
+	 * @return void
162 167
 	 */
163 168
 	public function setEntityType($type);
164 169
 	
@@ -169,7 +174,7 @@  discard block
 block discarded – undo
169 174
 	 * 
170 175
 	 * If no entity type is set, the class will be used instead
171 176
 	 *
172
-	 * @param return $type
177
+	 * @return string
173 178
 	 */
174 179
 	public function getEntityType();
175 180
 
@@ -179,6 +184,7 @@  discard block
 block discarded – undo
179 184
 	 * <strong>note:</strong> This may not supported by the underlying implementation
180 185
 	 *
181 186
 	 * @param string $path        	
187
+	 * @return void
182 188
 	 */
183 189
 	public function setFile($path);
184 190
 
Please login to merge, or discard this patch.