Skip to content

Commit

Permalink
fix updateQuery method on projections manager
Browse files Browse the repository at this point in the history
resolves #366
  • Loading branch information
prolic committed Nov 23, 2019
1 parent f6d2502 commit 69cb56d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -30,7 +30,6 @@ before_script:
- if php --ri xdebug >/dev/null; then phpenv config-rm xdebug.ini; fi
- composer self-update
- composer update --prefer-dist $DEPENDENCIES
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then composer require prooph/php-cs-fixer-config ^0.3; fi

script:
- if [[ $TEST_COVERAGE == 'true' ]]; then php -dzend_extension=xdebug.so ./vendor/bin/phpunit --exclude-group=ignore --coverage-text --coverage-clover ./build/logs/clover.xml; else ./vendor/bin/phpunit --exclude-group=ignore; fi
Expand Down
13 changes: 7 additions & 6 deletions composer.json
Expand Up @@ -19,15 +19,16 @@
"require": {
"php": "^7.2",
"ext-json": "*",
"ramsey/uuid": "^3.7.3"
"ramsey/uuid": "^3.8"
},
"require-dev": {
"amphp/amp": "^2.0.7",
"phpspec/prophecy": "^1.7",
"phpunit/phpunit": "^7.4 || ^8.0",
"amphp/amp": "^2.1.2",
"phpspec/prophecy": "^1.7.2",
"phpunit/phpunit": "^8.2.2",
"doctrine/instantiator": "^1.1",
"sebastian/object-enumerator": "^3.0.3",
"php-coveralls/php-coveralls": "^2.1"
"php-coveralls/php-coveralls": "^2.1",
"prooph/php-cs-fixer-config": "^0.3",
"sebastian/object-enumerator": "^3.0.3"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/Async/Projections/ProjectionsManager.php
Expand Up @@ -160,7 +160,7 @@ public function getQueryAsync(string $name, ?UserCredentials $userCredentials =
public function updateQueryAsync(
string $name,
string $query,
bool $emitEnabled = false,
?bool $emitEnabled = null,
?UserCredentials $userCredentials = null
): Promise;

Expand Down
2 changes: 1 addition & 1 deletion src/Projections/ProjectionsManager.php
Expand Up @@ -144,7 +144,7 @@ public function getQuery(string $name, ?UserCredentials $userCredentials = null)
public function updateQuery(
string $name,
string $query,
bool $emitEnabled = false,
?bool $emitEnabled = null,
?UserCredentials $userCredentials = null
): void;

Expand Down

0 comments on commit 69cb56d

Please sign in to comment.