Skip to content

Commit 18c5673

Browse files
committed
Fix php examples
1 parent bc680c5 commit 18c5673

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/sdk-ci.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ jobs:
9090
private-key: ${{ env.SCHEMA_READER_PRIVATE_KEY }}
9191
owner: ${{ github.repository_owner }}
9292

93-
- name: Setup cog
94-
uses: ./.github/actions/setup-cog
95-
9693
- name: Install devbox
9794
uses: jetify-com/devbox-install-action@a0d2d53632934ae004f878c840055956d9f741b0 #v0.14.0
9895
with:

examples/php/dashboardv2beta1-with-tabs-and-rows/src/Dashboard.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ private static function randomWalkPanel(int $panelId, int $seriesCount): SDKDash
8181
return (new SDKDashboard\PanelBuilder())
8282
->title("New panel {$panelId}")
8383
->visualization(new Timeseries\VisualizationBuilder())
84-
->data(new SDKDashboard\QueryGroupBuilder()
85-
->target(new SDKDashboard\TargetBuilder()
84+
->data((new SDKDashboard\QueryGroupBuilder())
85+
->target((new SDKDashboard\TargetBuilder())
8686
->query(
87-
new Testdata\QueryBuilder()
87+
(new Testdata\QueryBuilder())
8888
->scenarioId(Testdata\DataqueryScenarioId::randomWalk())
8989
->seriesCount($seriesCount)
9090
)

0 commit comments

Comments
 (0)