Fix return type in \Drupal\Core\Database\Query\Merge::__toString
4 unresolved threads
4 unresolved threads
Closes #3387960
Merge request reports
Activity
237 237 $this->assertEquals('2', $person->id); 238 238 } 239 239 240 /** 241 * @covers \Drupal\Core\Database\Query\Merge::__toString 242 */ 243 public function testMergeToString(): void { changed this line in version 4 of the diff
237 237 $this->assertEquals('2', $person->id); 238 238 } 239 239 240 /** 241 * @covers \Drupal\Core\Database\Query\Merge::__toString 242 */ 243 public function testMergeToString(): void { 244 $query = $this->connection->merge('test_people'); 245 $this->assertEmpty((string) $query); changed this line in version 2 of the diff
added 1316 commits
-
86bc9e69...66de90c6 - 1315 commits from branch
project:11.x
- 2dd3ed16 - Return empty string in Merge
-
86bc9e69...66de90c6 - 1315 commits from branch
added 525 commits
-
be6d84ee...8a74cf61 - 522 commits from branch
project:11.x
- dd50af5b - Return empty string in Merge
- 76af0884 - update phpstan baseline
- 843ca47b - throw an exception;add test
Toggle commit list-
be6d84ee...8a74cf61 - 522 commits from branch
118 118 * statement. 119 119 * 120 120 * @return string 121 * A prepared statement query string for this object. 121 * A prepared statement query string for this object. If the query cannot 122 * be represented as a single statement an empty string is returned. - Comment on lines +121 to +122
changed this line in version 7 of the diff
added 99 commits
-
843ca47b...b155910d - 95 commits from branch
project:11.x
- e9c394e7 - Return empty string in Merge
- bfca90b1 - update phpstan baseline
- df48e1ff - throw an exception;add test
- 9b88c60e - expand comment
Toggle commit list-
843ca47b...b155910d - 95 commits from branch
- Resolved by quietone
118 118 * statement. 119 119 * 120 120 * @return string 121 * A prepared statement query string for this object. 121 * A prepared statement query string for this object. If the query cannot 122 * be represented as a single statement an empty string is returned. When 123 * the operation is a Merge, an exception is thrown instead. changed this line in version 8 of the diff
- Resolved by Alex Pott
Please register or sign in to reply