Skip to content
Snippets Groups Projects

Fix return type in \Drupal\Core\Database\Query\Merge::__toString

Closed quietone requested to merge issue/drupal-3387960:3387960-fix-return-type into 11.x
4 unresolved threads

Closes #3387960

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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 {
  • 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);
  • quietone added 1 commit

    added 1 commit

    • cace65e7 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • quietone added 1 commit

    added 1 commit

    Compare with previous version

  • quietone added 1316 commits

    added 1316 commits

    Compare with previous version

  • quietone added 1 commit

    added 1 commit

    Compare with previous version

  • quietone added 525 commits

    added 525 commits

    Compare with previous version

  • 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.
  • quietone added 99 commits

    added 99 commits

    Compare with previous version

  • 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.
  • quietone added 22 commits

    added 22 commits

    Compare with previous version

  • Alex Pott added 1 commit

    added 1 commit

    • ecab2fcd - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • closed

  • Please register or sign in to reply
    Loading