Konjunktionen erweitert
This commit is contained in:
@@ -652,7 +652,7 @@ if (!function_exists('monthForecastBuildNarrativeText')) {
|
||||
|
||||
$planetEvents = $findEvents(
|
||||
$filteredEvents,
|
||||
static fn (array $event): bool => in_array((string) ($event['type'] ?? ''), ['inner_planet_elongation', 'venus_peak_magnitude', 'outer_planet_event', 'outer_planet_station', 'planet_conjunction', 'planet_constellation_change', 'planet_parade', 'mercury_good_visibility'], true),
|
||||
static fn (array $event): bool => in_array((string) ($event['type'] ?? ''), ['inner_planet_event', 'venus_peak_magnitude', 'outer_planet_event', 'outer_planet_station', 'planet_conjunction', 'planet_constellation_change', 'planet_parade', 'mercury_good_visibility'], true),
|
||||
5
|
||||
);
|
||||
if ($planetEvents !== []) {
|
||||
@@ -1579,7 +1579,7 @@ foreach ($innerPlanetElongationEvents as $elongationEvent) {
|
||||
'date' => (string) ($elongationEvent['local_date'] ?? ''),
|
||||
'time' => (string) ($elongationEvent['local_time'] ?? ''),
|
||||
'local_iso' => (string) ($elongationEvent['local_iso'] ?? ''),
|
||||
'type' => 'planet_elongation',
|
||||
'type' => 'inner_planet_event',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user