This repository was archived by the owner on Feb 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -113,21 +113,21 @@ private function sendHipchatMessage($room_id, $msg)
113
113
} else {
114
114
$ result = true ;
115
115
try {
116
- $ auth = new \GorkaLaucirica \HipchatAPIv2Client \Auth \OAuth2 ($ this ->authToken );
117
- $ client = new \GorkaLaucirica \HipchatAPIv2Client \Client ($ auth );
118
- $ room = new \GorkaLaucirica \HipchatAPIv2Client \API \RoomAPI ($ client );
119
- $ message = new \GorkaLaucirica \HipchatAPIv2Client \Model \Message ();
116
+ $ auth = new \GorkaLaucirica \HipchatAPIv2Client \Auth \OAuth2 ($ this ->authToken );
117
+ $ client = new \GorkaLaucirica \HipchatAPIv2Client \Client ($ auth );
118
+ $ room = new \GorkaLaucirica \HipchatAPIv2Client \API \RoomAPI ($ client );
119
+ $ message = new \GorkaLaucirica \HipchatAPIv2Client \Model \Message ();
120
120
121
- $ message ->setColor ($ this ->color );
122
- $ message ->setMessage ($ msg );
123
- $ message ->setNotify ($ this ->notify );
121
+ $ message ->setColor ($ this ->color );
122
+ $ message ->setMessage ($ msg );
123
+ $ message ->setNotify ($ this ->notify );
124
124
125
- $ room ->sendRoomNotification ($ room_id , $ message );
125
+ $ room ->sendRoomNotification ($ room_id , $ message );
126
126
} catch (Exception $ e ) {
127
- $ return = false ;
127
+ $ result = false ;
128
128
}
129
129
130
130
return $ result ;
131
- }
131
+ }
132
132
}
133
133
}
You can’t perform that action at this time.
0 commit comments