Version 5.0.0 beta 10

This commit is contained in:
Neo committed 2025-12-19 17:53:48 -08:00
1 parent 56979f8ee8
commit 264eeb97e0
325 files changed
+6442 -1849

No files matched your search

@@ -67,10 +67,10 @@ class CreateEvent extends ItemMutator
* @param mixed $val Value passed into this resolver
* @param array $args Arguments
* @param array $context Context values
* @param array $info
* @param mixed $info
* @return Event
*/
public function resolve( mixed $val, array $args, array $context, array $info): Item
public function resolve( mixed $val, array $args, array $context, mixed $info ): Item
{
/* Get calendar */
try
@@ -57,10 +57,10 @@ class Calendar
* @param mixed $val Value passed into this resolver
* @param array $args Arguments
* @param array $context Context values
* @param array $info
* @param mixed $info
* @return CalendarClass
*/
public function resolve( mixed $val, array$args, array $context, array $info): CalendarClass
public function resolve( mixed $val, array$args, array $context, mixed $info ): CalendarClass
{
$calendar = CalendarClass::load( $args['id'] );
@@ -56,10 +56,10 @@ class Calendars
* @param mixed $val Value passed into this resolver
* @param array $args Arguments
* @param array $context Context values
* @param array $info
* @param mixed $info
* @return array
*/
public function resolve( mixed $val, array $args, array $context, array $info): array
public function resolve( mixed $val, array $args, array $context, mixed $info ): array
{
Calendar::loadIntoMemory('view', $context['member']);
return Calendar::roots();
@@ -58,10 +58,10 @@ class Event
* @param mixed $val Value passed into this resolver
* @param array $args Arguments
* @param array $context Context values
* @param array $info
* @param mixed $info
* @return EventClass
*/
public function resolve( mixed $val, array $args, array $context, array $info): EventClass
public function resolve( mixed $val, array $args, array $context, mixed $info ): EventClass
{
try
{
@@ -92,10 +92,10 @@ class Events
* @param mixed $val Value passed into this resolver
* @param array $args Arguments
* @param array $context Context values
* @param array $info
* @param mixed $info
* @return ActiveRecordIterator
*/
public function resolve( mixed $val, array $args, array $context, array $info ): ActiveRecordIterator
public function resolve( mixed $val, array $args, array $context, mixed $info ): ActiveRecordIterator
{
$where = [];
Calendar::loadIntoMemory( 'view', Member::loggedIn() );