|
@@ -43,7 +43,7 @@ discard block |
|
|
block discarded – undo |
|
43
|
43
|
$assetTypes = $this->getAssetsBuilder()->findAssetTypes($compositeRepos); |
|
44
|
44
|
|
|
45
|
45
|
// Let's get an array of values, indexed by asset type (to store in the discovery_values.php file) |
|
46
|
|
- $values = array_map(function (AssetType $assetType) { |
|
|
46
|
+ $values = array_map(function(AssetType $assetType) { |
|
47
|
47
|
return $assetType->getValues(); |
|
48
|
48
|
}, $assetTypes); |
|
49
|
49
|
|
|
@@ -51,7 +51,7 @@ discard block |
|
|
block discarded – undo |
|
51
|
51
|
return '.var_export($values, true).";\n"); |
|
52
|
52
|
|
|
53
|
53
|
// Let's get an array of assetTypes, indexed by asset type (to store in the discovery_asset_types.php file) |
|
54
|
|
- $assetTypes = array_map(function (AssetType $assetType) { |
|
|
54
|
+ $assetTypes = array_map(function(AssetType $assetType) { |
|
55
|
55
|
return $assetType->jsonSerialize(); |
|
56
|
56
|
}, $assetTypes); |
|
57
|
57
|
|
Please login to merge, or discard this patch.