We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0379428 commit 91074b2Copy full SHA for 91074b2
UPGRADE-1.0.md
@@ -82,3 +82,35 @@ Security Optional:
82
security: false
83
```
84
85
+Step 3: Update Custom Health Check
86
+----------------------------------
87
+We need change return type array -> Response class
88
+
89
90
+### Old:
91
+```
92
+use SymfonyHealthCheckBundle\Dto\Response;
93
94
+class StatusUpCheck implements CheckInterface
95
+{
96
+ public function check(): array
97
+ {
98
+ return ['status' => 'up'];
99
+ }
100
+}
101
102
103
+### New:
104
105
106
107
108
109
+ public function check(): Response
110
111
+ return new Response('status', true, 'up');
112
113
114
115
116
0 commit comments