mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-06 15:59:24 +03:00
Fixed minor bugs
This commit is contained in:
parent
1af902865b
commit
3e6f2c9e83
@ -60,7 +60,7 @@ abstract class Node
|
||||
* This is a reverse operation for $node->toArray(true)
|
||||
*
|
||||
* @param array $node
|
||||
* @return EnumValueDefinitionNode
|
||||
* @return Node
|
||||
*/
|
||||
public static function fromArray(array $node)
|
||||
{
|
||||
|
@ -72,7 +72,7 @@ class StandardServer
|
||||
*/
|
||||
public function executeRequest($parsedBody = null)
|
||||
{
|
||||
if (null !== $parsedBody) {
|
||||
if (null === $parsedBody) {
|
||||
$parsedBody = $this->helper->parseHttpRequest();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user