Skip to content

Commit 8154588

Browse files
committed
fix
1 parent f322a8e commit 8154588

File tree

4 files changed

+33
-31
lines changed

4 files changed

+33
-31
lines changed

.github/workflows/pint.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Laravel Pint
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
pint:
11+
name: Run Laravel Pint
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: Setup PHP
19+
uses: shivammathur/setup-php@v2
20+
with:
21+
php-version: "8.3"
22+
tools: composer
23+
24+
- name: Install dependencies
25+
run: composer install --prefer-dist --no-progress --no-suggest
26+
27+
- name: Run Laravel Pint
28+
run: vendor/bin/pint --test

.github/workflows/update-changelog.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Attach a conversation to any model and easily create a chat
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/elegantly/laravel-conversations.svg?style=flat-square)](https://packagist.org/packages/elegantly/laravel-conversations)
4-
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/elegantly/laravel-conversations/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/ElegantEngineeringTech/laravel-conversations/actions?query=workflow%3Arun-tests+branch%3Amain)
5-
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/elegantly/laravel-conversations/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/ElegantEngineeringTech/laravel-conversations/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
4+
[![Tests](https://img.shields.io/github/actions/workflow/status/ElegantEngineeringTech/laravel-conversations/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/ElegantEngineeringTech/laravel-conversations/actions?query=workflow%3Arun-tests+branch%3Amain)
5+
[![Code Style](https://img.shields.io/github/actions/workflow/status/ElegantEngineeringTech/laravel-conversations/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/ElegantEngineeringTech/laravel-conversations/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
6+
[![PHPStan Level](https://img.shields.io/github/actions/workflow/status/ElegantEngineeringTech/laravel-conversations/phpstan.yml?label=phpstan&style=flat-square)](https://github.com/ElegantEngineeringTech/laravel-conversations/actions?query=workflow%3Aphpstan)
7+
[![Laravel Pint](https://img.shields.io/github/actions/workflow/status/ElegantEngineeringTech/laravel-conversations/pint.yml?label=laravel%20pint&style=flat-square)](https://github.com/ElegantEngineeringTech/laravel-conversations/actions?query=workflow%3Apint)
68
[![Total Downloads](https://img.shields.io/packagist/dt/elegantly/laravel-conversations.svg?style=flat-square)](https://packagist.org/packages/elegantly/laravel-conversations)
79

810
This package the basic architecture of a chat between multiple users.

src/Conversation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function conversationable(): MorphTo
104104
}
105105

106106
/**
107-
* @return BelongsToMany<TUser, $this>
107+
* @return BelongsToMany<TUser, $this, TConversationUser, 'conversationUser'>
108108
*/
109109
public function users(): BelongsToMany
110110
{

0 commit comments

Comments
 (0)