@@ -44,7 +44,7 @@ |
||
44 | 44 | * @param array $fieldNames |
45 | 45 | * @param DatabaseBase $dbs |
46 | 46 | * |
47 | - * @return boolean |
|
47 | + * @return false|string |
|
48 | 48 | */ |
49 | 49 | public function getSQLCondition( $tableName, array $fieldNames, DatabaseBase $dbs ) { |
50 | 50 | $dataItem = $this->getDataItem(); |
@@ -50,6 +50,10 @@ |
||
50 | 50 | $this->assertHasJsonKeyWithValue( $polygon, 'fillOpacity', '0.42' ); |
51 | 51 | } |
52 | 52 | |
53 | + /** |
|
54 | + * @param string $key |
|
55 | + * @param string $value |
|
56 | + */ |
|
53 | 57 | protected function assertHasJsonKeyWithValue( Polygon $polygon, $key, $value ) { |
54 | 58 | $json = $polygon->getJSONObject(); |
55 | 59 |