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

@@ -69,7 +69,7 @@ class CreateEntry extends ItemMutator
* @param mixed $info
* @return Entry
*/
public function resolve( mixed $val, array $args, array $context, mixed $info): Entry
public function resolve( mixed $val, array $args, array $context, mixed $info ): Entry
{
/* Get blog */
try
@@ -69,10 +69,10 @@ class ReplyEntry extends CommentMutator
* @param mixed $val Value passed into this resolver
* @param array $args Arguments
* @param array $context Context values
* @param array $info
* @param mixed $info
* @return Comment
*/
public function resolve( mixed $val, array $args, array $context, array $info): Comment
public function resolve( mixed $val, array $args, array $context, mixed $info): Comment
{
/* Get topic */
try
@@ -58,10 +58,10 @@ class Blog
* @param mixed $val Value passed into this resolver
* @param array $args Arguments
* @param array $context Context values
* @param array $info
* @param mixed $info
* @return BlogObject
*/
public function resolve( mixed $val, array $args, array $context, array $info): BlogObject
public function resolve( mixed $val, array $args, array $context, mixed $info ): BlogObject
{
$blog = BlogObject::load( $args[ 'id'] );
@@ -56,10 +56,10 @@ class Blogs
* @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
{
Blog::loadIntoMemory('view', $context['member']);
return Blog::roots();
@@ -92,10 +92,10 @@ class Entries
* @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
{
Blog::loadIntoMemory('view', Member::loggedIn() );
@@ -58,10 +58,10 @@ class Entry
* @param mixed $val Value passed into this resolver
* @param array $args Arguments
* @param array $context Context values
* @param array $info
* @param mixed $info
* @return EntryClass
*/
public function resolve( mixed $val, array $args, array $context, array $info): EntryClass
public function resolve( mixed $val, array $args, array $context, mixed $info ): EntryClass
{
try
{